Skip to content

xss on template engines #476

@jknack

Description

@jknack

Template engines should expose (one way or another) available XSS escapers:

handlebars:

{{xss input "js" "html"}}

pebble:

{{xss(input, "js", "html")}}

freemarker:

${xss (input, "js", "html")}

jade:

p= xss.apply(input, "js", "html")

See #473 and #475

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions