diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-08 17:08:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-08 17:08:01 -0800 |
commit | 12a5bd3c8d34eddbabee0dc54fd7ce6d9539c9d4 (patch) | |
tree | 417b9b88ebf3a96fd8ac5a754c0aefe160e75adf /tests/writer.mediawiki | |
parent | 52d95ddde15e92d74c2d8d0d6aa27c922c54c5e0 (diff) | |
download | pandoc-12a5bd3c8d34eddbabee0dc54fd7ce6d9539c9d4.tar.gz |
Entity handling fixes:
- Text.Pandoc.XML.fromEntities: handle entities without a
semicolon. Always lookup character references with the
trailing ';', even if it wasn't present. And never add
it when looking up numerical entities. (This is what
tagsoup seems to require.)
- Text.Pandoc.Parsing.characterReference: Always lookup
character references with the trailing ';', and leave off
the ';' when looking up numerical entities.
This fixes a regression for e.g. `⟨`.
Diffstat (limited to 'tests/writer.mediawiki')
0 files changed, 0 insertions, 0 deletions