aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/TeXMath.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-17 22:55:39 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-17 22:56:33 -0700
commit10e28ef750f0c7e6bc0dfb7aabaaad8edf059e3c (patch)
tree00c0649bb6cb6f77e2cde3c55a58390defde37df /src/Text/Pandoc/Readers/TeXMath.hs
parentaaf5e67624c6b9dcc2615e0e3f4ad4e622d516af (diff)
downloadpandoc-10e28ef750f0c7e6bc0dfb7aabaaad8edf059e3c.tar.gz
More principled fix for #1820.
If the tag parses as a comment, we check to see if the input starts with `<!--`. If not, it's bogus comment mode and we fail htmlTag. Includes test case. Closes #1820.
Diffstat (limited to 'src/Text/Pandoc/Readers/TeXMath.hs')
0 files changed, 0 insertions, 0 deletions