summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2011-03-11 17:22:43 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2011-03-11 17:22:43 +0100
commitba76e1b03a1b691e0220ed31de1fdd1b6a0f924d (patch)
treeaf3c776c898f0b0a977808708c1196388b966e52
parente837682344d6edd2012d1ab2fd30d77ffa486593 (diff)
Bug in forced line break support fixed.
-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);
}