summaryrefslogtreecommitdiff
path: root/src/parser/text_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/text_p.cpp')
-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 f833743..a632d97 100644
--- a/src/parser/text_p.cpp
+++ b/src/parser/text_p.cpp
@@ -37,7 +37,7 @@ text_p::text_p() : text_p::base_type(text_) {
pstext_ = lit('[') >> attr(LINK) >> +text_(val(L"]")) >> ']' >>
lit('(') >> ptext_(val(L")")) >> ')';
- atom_ = lit(L"\\ ") >> attr(NBSP);
+ atom_ = lit(L"\\ ") >> attr(NBSP) | lit('\\') >> eol >> attr(NEWLINE);
ptext_ = +(echar_ | rchar_(_r1));
echar_ = lit('\\') >> ~char_(' ');