git.iko.soy/typeable/pandoc
on master help sign in
Fix regression with `tex_math_backslash` in Markdown reader.

Added regression test. Closes #7155.

commit7bf4be04b0c04ccfd02a2a907071b8747380904f authorJohn MacFarlane <jgm@berkeley.edu> dateWed 17 Mar 2021, 09:10 (6 years ago) parente66bf89
1 file changed+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
@@ -1503,7 +1503,7 @@ inline = do
15031503 '$' -> math
15041504 '~' -> strikeout <|> subscript
15051505 '<' -> autoLink <|> spanHtml <|> rawHtmlInline <|> ltSign
1506− '\\' -> escapedNewline <|> escapedChar <|> rawLaTeXInline'
1506+ '\\' -> math <|> escapedNewline <|> escapedChar <|> rawLaTeXInline'
15071507 '@' -> cite <|> exampleRef
15081508 '"' -> smart
15091509 '\'' -> smart