diff options
Diffstat (limited to 'helpers/content.go')
-rw-r--r-- | helpers/content.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/content.go b/helpers/content.go index 6bb7ed4d3..8c5c9cc7b 100644 --- a/helpers/content.go +++ b/helpers/content.go @@ -227,7 +227,9 @@ func GetMmarkHtmlRenderer(defaultFlags int, ctx *RenderingContext) mmark.Rendere htmlFlags := defaultFlags htmlFlags |= mmark.HTML_FOOTNOTE_RETURN_LINKS - return mmark.HtmlRendererWithParameters(htmlFlags, "", "", renderParameters) + return &HugoMmarkHtmlRenderer{ + mmark.HtmlRendererWithParameters(htmlFlags, "", "", renderParameters), + } } func GetMmarkExtensions(ctx *RenderingContext) int { |