aboutsummaryrefslogtreecommitdiff
path: root/test/command
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 /test/command
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 'test/command')
-rw-r--r--test/command/4235.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/4235.md b/test/command/4235.md
index e6e321841..8bbf43ff9 100644
--- a/test/command/4235.md
+++ b/test/command/4235.md
@@ -6,7 +6,7 @@ This.^[Has a footnote.]
<section class="footnotes" role="doc-endnotes">
<hr />
<ol>
-<li id="foofn1" role="doc-endnote"><p>Has a footnote.<a href="#foofnref1" class="footnote-back" role="doc-backlink">↩</a></p></li>
+<li id="foofn1" role="doc-endnote"><p>Has a footnote.<a href="#foofnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
```