summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/extension/ast/footnote.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yuin/goldmark/extension/ast/footnote.go')
-rw-r--r--vendor/github.com/yuin/goldmark/extension/ast/footnote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/extension/ast/footnote.go b/vendor/github.com/yuin/goldmark/extension/ast/footnote.go
index 97fea4403..b24eafe67 100644
--- a/vendor/github.com/yuin/goldmark/extension/ast/footnote.go
+++ b/vendor/github.com/yuin/goldmark/extension/ast/footnote.go
@@ -88,7 +88,7 @@ type Footnote struct {
func (n *Footnote) Dump(source []byte, level int) {
m := map[string]string{}
m["Index"] = fmt.Sprintf("%v", n.Index)
- m["Ref"] = fmt.Sprintf("%s", n.Ref)
+ m["Ref"] = string(n.Ref)
gast.DumpHelper(n, source, level, m, nil)
}