Skip to content

Consider the "no plain text template in HTML" for shortcodes rendered with {{% #13698

@bep

Description

@bep

See https://discourse.gohugo.io/t/documentation-on-necessary-steps-to-update-templates/54670/2

The security concern/fix is real, e.g.

{{< injectsomejs.js >}}

Would be rendered without any escaping.

But:

{{% mymarkdown.md %}}

Is rendering markdown, and that should work, I guess.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions