From 7acf15c1f0623f157e6abdf4a9bff5b050add967 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 20 Feb 2011 15:02:16 +0100 Subject: Forced line break support added. --- src/parser/text_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser/text_p.cpp') 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_(' '); -- cgit v1.2.3-70-g09d2