aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-05-28 11:01:47 +0200
committerBjørn Erik Pedersen <[email protected]>2022-05-29 11:50:58 +0200
commit0f8dc47037f59156c04540d97ed1b588e6bc1164 (patch)
tree78d76bb4d52b2f35b609013fde6ec4f5e19730c8 /hugolib/page.go
parent3b478f50b7408ad78d085fa6dbc3c7a683c9d943 (diff)
downloadhugo-0f8dc47037f59156c04540d97ed1b588e6bc1164.tar.gz
hugo-0f8dc47037f59156c04540d97ed1b588e6bc1164.zip
Remove Blackfriday markdown engine
It has been deprecated for a long time, its v1 version is not maintained anymore, and there are many known issues. Goldmark should be a mature replacement by now. Closes #9934
Diffstat (limited to 'hugolib/page.go')
-rw-r--r--hugolib/page.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page.go b/hugolib/page.go
index 19d969532..8bf13e320 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -600,7 +600,7 @@ func (p *pageState) getContentConverter() converter.Converter {
// Only used for shortcode inner content.
markup = "markdown"
}
- p.m.contentConverter, err = p.m.newContentConverter(p, markup, p.m.renderingConfigOverrides)
+ p.m.contentConverter, err = p.m.newContentConverter(p, markup)
})
if err != nil {
@@ -698,7 +698,7 @@ Loop:
p.source.hasSummaryDivider = true
if meta.markup != "html" {
- // The content will be rendered by Blackfriday or similar,
+ // The content will be rendered by Goldmark or similar,
// and we need to track the summary.
rn.AddReplacement(internalSummaryDividerPre, it)
}