summaryrefslogtreecommitdiffstats
path: root/utils/markdown/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/markdown/html.go')
-rw-r--r--utils/markdown/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/markdown/html.go b/utils/markdown/html.go
index 1a857afed..afb72bff3 100644
--- a/utils/markdown/html.go
+++ b/utils/markdown/html.go
@@ -157,7 +157,7 @@ func RenderInlineHTML(inline Inline) (result string) {
}
result += "</a>"
case *Autolink:
- result += `<a href="` + htmlEscaper.Replace(escapeURL(v.Link)) + `">`
+ result += `<a href="` + htmlEscaper.Replace(escapeURL(v.Destination())) + `">`
for _, inline := range v.Children {
result += RenderInlineHTML(inline)
}