aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/UTF8.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-04-30 22:17:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-04-30 22:32:52 -0700
commitf11d0c9dc8b61cc38e138aaecb0f0094add3465a (patch)
treeb9ed6e7d623f9dd4e3184299e62862716fd594db /src/Text/Pandoc/UTF8.hs
parent2b2d9baaa8341755a2c6219470639ec7c5d99551 (diff)
downloadpandoc-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