Skip to content

Make unsafe: true the default setting for goldmark(?) #6581

@Brixy

Description

@Brixy

This is opiniated because I haven’t given much thought to the drawbacks yet:

In the forums we have seen many questions about Hugo 0.60.n omitting HTML in markdown files. The reason for this is clear and well documented.

As HTML blocks are allowed both in Markdown and CommonMark I personally think it would be better to use unsafe: true as the default. Otherwise the default behaviour feels kind of non-compliant with CommonMark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions