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:
commit
3b2b20c8cb
5
html.go
5
html.go
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user