adobe / htl-spec

HTML Template Language Specification
Apache License 2.0
280 stars 146 forks source link

Add Sightly context for XML content #6

Closed vladbailescu closed 7 years ago

vladbailescu commented 9 years ago

I propose to add a new Sightly context for XML content. This will remove/encode markup that contains XSS risks, similar to context="html" and allow better semantics.

Right now the same result can be achieved using context="html" but this is not obvious and might encourage developers to use unsafe context.