Skip to content

Non-string types are handled inconsistently between javascript and html escaping #802

@tomalexander

Description

@tomalexander

With the template

{name|h|js}{~n}
{name|j|js}{~n}

and the context

{"name": true}

You get the output

"true"
true

So it seems that html escaping turns non-string types into string, but javascript escaping does not.

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