mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -55,7 +55,7 @@ func (ns *Namespace) Highlight(s interface{}, lang, opts string) (template.HTML,
|
||||
return "", err
|
||||
}
|
||||
|
||||
highlighted, _ := ns.deps.ContentSpec.Highlight(html.UnescapeString(ss), lang, opts)
|
||||
highlighted, _ := ns.deps.ContentSpec.Highlight(ss, lang, opts)
|
||||
return template.HTML(highlighted), nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user