From 579ff9b6524ed4e55c191ab94251f5a2fe315f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 26 Feb 2022 17:24:10 +0100 Subject: markup/goldmark: Improve attributes vs options Fixes #9571 --- hugolib/site.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hugolib/site.go') diff --git a/hugolib/site.go b/hugolib/site.go index ebda29f46..c76bdc141 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1798,6 +1798,10 @@ func (hr hookRendererTemplate) ResolvePosition(ctx interface{}) text.Position { return hr.resolvePosition(ctx) } +func (hr hookRendererTemplate) IsDefaultCodeBlockRenderer() bool { + return false +} + func (s *Site) renderForTemplate(name, outputFormat string, d interface{}, w io.Writer, templ tpl.Template) (err error) { if templ == nil { s.logMissingLayout(name, "", "", outputFormat) -- cgit v1.2.3