Fix regression with tex_math_backslash in Markdown reader.

Added regression test.  Closes #7155.
This commit is contained in:
John MacFarlane 2021-03-17 09:10:44 -07:00
parent e66bf891ec
commit 7bf4be04b0

View file

@ -1503,7 +1503,7 @@ inline = do
'$' -> math
'~' -> strikeout <|> subscript
'<' -> autoLink <|> spanHtml <|> rawHtmlInline <|> ltSign
'\\' -> escapedNewline <|> escapedChar <|> rawLaTeXInline'
'\\' -> math <|> escapedNewline <|> escapedChar <|> rawLaTeXInline'
'@' -> cite <|> exampleRef
'"' -> smart
'\'' -> smart