diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-04-30 22:17:31 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-04-30 22:32:52 -0700 |
commit | f11d0c9dc8b61cc38e138aaecb0f0094add3465a (patch) | |
tree | b9ed6e7d623f9dd4e3184299e62862716fd594db /src/Text/Pandoc/UTF8.hs | |
parent | 2b2d9baaa8341755a2c6219470639ec7c5d99551 (diff) | |
download | pandoc-f11d0c9dc8b61cc38e138aaecb0f0094add3465a.tar.gz |
HTML: prevent gratuitious emojification on iOS.
iOS chooses to render a number of Unicode entities,
including '↩', as big colorful emoji. This can be
defeated by appending Unicode
VARIATION SELECTOR-15'/'VARIATION SELECTOR-16'.
So we now append this character when escaping
strings, for both '↩' and '↔'.
If other characters prove problematic, they can
simply be added to needsVariationSelector.
Closes #5469.
Diffstat (limited to 'src/Text/Pandoc/UTF8.hs')
0 files changed, 0 insertions, 0 deletions