Skip to content

Conversation

@justinmk
Copy link
Member

Problem:
HTML in markdown pages is not rendered (e.g. content/screenshots.md).

WARN  Raw HTML omitted while rendering "/…/content/posts/2015-04-03-newsletter.md";
see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-goldmark-raw-html']

Solution:
We fully control the content and want to render HTML, so enable unsafe=true.

Problem:
HTML in markdown pages is not rendered (e.g. `content/screenshots.md`).

    WARN  Raw HTML omitted while rendering "/…/content/posts/2015-04-03-newsletter.md";
    see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
    You can suppress this warning by adding the following to your site configuration:
    ignoreLogs = ['warning-goldmark-raw-html']

Solution:
We fully control the content and want to render HTML, so enable `unsafe=true`.
@justinmk justinmk merged commit 8d55838 into master Nov 25, 2025
1 check passed
@justinmk justinmk deleted the fix branch November 25, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants