diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-04-17 22:55:39 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-04-17 22:56:33 -0700 |
commit | 10e28ef750f0c7e6bc0dfb7aabaaad8edf059e3c (patch) | |
tree | 00c0649bb6cb6f77e2cde3c55a58390defde37df /src/Text/Pandoc/Readers/TeXMath.hs | |
parent | aaf5e67624c6b9dcc2615e0e3f4ad4e622d516af (diff) | |
download | pandoc-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