Skip to content

escape all outputted variables by default #1240

@emattias

Description

@emattias

Would it be possible to configure liquid to make escaping opt out instead of opt in with the escape filter?

We have had problems with escaping being missed when implementing. If it escapes everything by default its harder to miss and you make an active choice to not escape potentially risky outputs.

React for example escape all output by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions