summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser/text_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/text_p.cpp b/src/parser/text_p.cpp
index a632d97..4aa6a68 100644
--- a/src/parser/text_p.cpp
+++ b/src/parser/text_p.cpp
@@ -40,6 +40,6 @@ text_p::text_p() : text_p::base_type(text_) {
atom_ = lit(L"\\ ") >> attr(NBSP) | lit('\\') >> eol >> attr(NEWLINE);
ptext_ = +(echar_ | rchar_(_r1));
- echar_ = lit('\\') >> ~char_(' ');
+ echar_ = lit('\\') >> ~char_(L" \n");
rchar_ = ~char_('\\') - char_(_r1);
}