diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-01-08 08:43:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-01-08 08:43:51 -0800 |
commit | fc78be1140532dcd7dc4ef614ac753cca5cf8b1e (patch) | |
tree | c2918a27e05a53efa2df2c60b4f795000e9fbd87 /src/Text/Pandoc/XML.hs | |
parent | bef0133fe044350caeee24cdf79203a9306534da (diff) | |
download | pandoc-fc78be1140532dcd7dc4ef614ac753cca5cf8b1e.tar.gz |
LaTeX reader: improve parsing of raw environments.
If parsing fails in a raw environment (e.g. due to special
characters like unescaped `_`), try again as a verbatim
environment, which is less sensitive to special characters.
This allows us to capture special environments that change
catcodes as raw tex when `-f latex+raw_tex` is used.
Closes #6034.
Diffstat (limited to 'src/Text/Pandoc/XML.hs')
0 files changed, 0 insertions, 0 deletions