Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Fix: escape variables after {% endautoescape %} #39

Merged
merged 1 commit into from Jan 24, 2012
Merged

Fix: escape variables after {% endautoescape %} #39

merged 1 commit into from Jan 24, 2012

Conversation

ghost
Copy link

@ghost ghost commented Jan 24, 2012

Inside a {% autoescape off %} block everything worked as expected.
The problem was after {% endautoescape %} tag, variables weren't being
escaped as they should - considering swig.init({autoescape: true})

@paularmstrong
Copy link
Owner

Great catch! Thanks!

paularmstrong added a commit that referenced this pull request Jan 24, 2012
Fix: escape variables after {% endautoescape %}
@paularmstrong paularmstrong merged commit be8f971 into paularmstrong:master Jan 24, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant