all repos — grayfriday @ 3b2b20c8cb0632a0442ea9694d170b8aea985549

blackfriday fork with a few changes

Merge pull request #547 from adiabatic/v2

Use ↩ as default params.FootnoteReturnLinkContents
Russ Ross russ@russross.com
Tue, 18 Feb 2020 16:52:18 -0700
commit

3b2b20c8cb0632a0442ea9694d170b8aea985549

parent

a1ae674f6fdc9265925c01731dc0fe6532fff546

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M html.gohtml.go

@@ -132,7 +132,10 @@ closeTag = xhtmlClose

} if params.FootnoteReturnLinkContents == "" { - params.FootnoteReturnLinkContents = `<sup>[return]</sup>` + // U+FE0E is VARIATION SELECTOR-15. + // It suppresses automatic emoji presentation of the preceding + // U+21A9 LEFTWARDS ARROW WITH HOOK on iOS and iPadOS. + params.FootnoteReturnLinkContents = "<span aria-label='Return'>↩\ufe0e</span>" } return &HTMLRenderer{