From f11d0c9dc8b61cc38e138aaecb0f0094add3465a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 30 Apr 2019 22:17:31 -0700 Subject: HTML: prevent gratuitious emojification on iOS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- test/writer.html5 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/writer.html5') diff --git a/test/writer.html5 b/test/writer.html5 index e0b30f4af..88b382ed2 100644 --- a/test/writer.html5 +++ b/test/writer.html5 @@ -537,14 +537,14 @@ Blah

    -
  1. Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.

  2. +
  3. Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.↩︎

  4. Here’s the long note. This one contains multiple blocks.

    Subsequent blocks are indented to show that they belong to the footnote (as with list items).

      { <code> }
    -

    If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.

  5. -
  6. This is easier to type. Inline notes may contain links and ] verbatim characters, as well as [bracketed text].

  7. -
  8. In quote.

  9. -
  10. In list.

  11. +

    If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.↩︎

    +
  12. This is easier to type. Inline notes may contain links and ] verbatim characters, as well as [bracketed text].↩︎

  13. +
  14. In quote.↩︎

  15. +
  16. In list.↩︎

-- cgit v1.2.3