markup/goldmark: Improve the raw HTML omitted warning

Closes #13023
This commit is contained in:
Joe Mooring
2024-11-07 12:19:59 -08:00
committed by Bjørn Erik Pedersen
parent 35afe6fe2a
commit 2b97a2a8bf
2 changed files with 3 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ func (r *hugoContextRenderer) stripHugoCtx(b []byte) ([]byte, bool) {
}
func (r *hugoContextRenderer) logRawHTMLEmittedWarn(w util.BufWriter) {
r.logger.Warnidf(constants.WarnGoldmarkRawHTML, "Raw HTML omitted from %q; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe", r.getPage(w))
r.logger.Warnidf(constants.WarnGoldmarkRawHTML, "Raw HTML omitted white rendering %q; see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe", r.getPage(w))
}
func (r *hugoContextRenderer) getPage(w util.BufWriter) any {