aboutsummaryrefslogtreecommitdiff
path: root/internal/markup/markdown.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/markup/markdown.go')
-rw-r--r--internal/markup/markdown.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/markup/markdown.go b/internal/markup/markdown.go
index ab0b9cd2..f8078b38 100644
--- a/internal/markup/markdown.go
+++ b/internal/markup/markdown.go
@@ -43,7 +43,7 @@ func isLink(link []byte) bool {
}
// Link defines how formal links should be processed to produce corresponding HTML elements.
-func (r *MarkdownRenderer) Link(out *bytes.Buffer, link []byte, title []byte, content []byte) {
+func (r *MarkdownRenderer) Link(out *bytes.Buffer, link, title, content []byte) {
if len(link) > 0 && !isLink(link) {
if link[0] != '#' {
link = []byte(path.Join(r.urlPrefix, string(link)))