Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaceless tag now re-wraps output as Twig.Markup #435

Merged
merged 1 commit into from
Dec 9, 2016

Conversation

dave-irvine
Copy link
Contributor

This fixes #372.

Previously this tag returned a pure string, but this means that when the output is later run through the output function, it will escape the output, which isn't what we want when Spaceless wraps static values.

@dave-irvine dave-irvine merged commit e2fcd0f into master Dec 9, 2016
@dave-irvine dave-irvine deleted the bug/spaceless-escaping branch December 9, 2016 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

text inside spaceless tag is escaped when Twig autoescape is on
1 participant