1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-12-03 09:57:57 +01:00

Merge pull request #547 from adiabatic/v2

Use ↩ as default params.FootnoteReturnLinkContents
This commit is contained in:
Russ Ross 2020-02-18 16:52:18 -07:00 committed by GitHub
commit 3b2b20c8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,10 @@ func NewHTMLRenderer(params HTMLRendererParameters) *HTMLRenderer {
} }
if params.FootnoteReturnLinkContents == "" { 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{ return &HTMLRenderer{