diff --git a/extension/_test/footnote.txt b/extension/_test/footnote.txt index 7113be5..4a04a74 100644 --- a/extension/_test/footnote.txt +++ b/extension/_test/footnote.txt @@ -12,7 +12,7 @@ That's some text with a footnote.[^1]
  1. And that's the footnote.

    -

    That's the second paragraph.

    +

    That's the second paragraph. ↩︎

@@ -26,7 +26,7 @@ That's some text with a footnote.[^1]
  1. -

    0 [^]:

    +

    0 [^]: ↩︎

diff --git a/extension/footnote.go b/extension/footnote.go index cdab700..2fbcbb5 100644 --- a/extension/footnote.go +++ b/extension/footnote.go @@ -237,10 +237,10 @@ func (r *FootnoteHTMLRenderer) renderFootnoteBackLink(w util.BufWriter, source [ if entering { n := node.(*ast.FootnoteBackLink) is := strconv.Itoa(n.Index) - _, _ = w.WriteString(``) - _, _ = w.WriteString("↩") + _, _ = w.WriteString("↩︎") _, _ = w.WriteString(``) } return gast.WalkContinue, nil