Fixed -f markdown_github-hard_line_breaks+escaped_line_breaks.
Previously this did not properly enable escaped line breaks.
Closes #3341.
commit4781819a6bd61e3c8fb17d0c986f0fe6ec17778b
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 8 Jan 2017, 10:01 (10 years ago)
parentd719d79
src/Text/Pandoc/Readers/Markdown.hs+1
@@ -1515,6 +1515,7 @@ escapedChar' = try $ do
15151515 (guardEnabled Ext_all_symbols_escapable >> satisfy (not . isAlphaNum))
15161516 <|> (guardEnabled Ext_angle_brackets_escapable >>
15171517 oneOf "\\`*_{}[]()>#+-.!~\"<>")
1518+ <|> (guardEnabled Ext_escaped_line_breaks >> char '\n')
15181519 <|> oneOf "\\`*_{}[]()>#+-.!~\""
15191520
15201521escapedChar :: MarkdownParser (F Inlines)