mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-29 20:19:11 +01:00
Merge pull request #547 from adiabatic/v2
Use ↩ as default params.FootnoteReturnLinkContents
This commit is contained in:
commit
3b2b20c8cb
5
html.go
5
html.go
@ -132,7 +132,10 @@ func NewHTMLRenderer(params HTMLRendererParameters) *HTMLRenderer {
|
||||
}
|
||||
|
||||
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{
|
||||
|
Loading…
Reference in New Issue
Block a user