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

Use a better escaping mechanism for data-prototype attr #6609

Merged
merged 1 commit into from
May 27, 2016

Conversation

javiereguiluz
Copy link
Member

Twig defines the html_attr strategy to escape values to be included in HTML attributes. Let's use it instead of the generic strategy.

@HeahDude
Copy link
Contributor

👍

@xabbuh
Copy link
Member

xabbuh commented May 24, 2016

👍 looks reasonable

@wouterj
Copy link
Member

wouterj commented May 27, 2016

Thanks Javier.

@wouterj wouterj merged commit 627e1a0 into symfony:2.3 May 27, 2016
wouterj added a commit that referenced this pull request May 27, 2016
…javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Use a better escaping mechanism for data-prototype attr

Twig defines the `html_attr` strategy to escape values to be included in HTML attributes. Let's use it instead of the generic strategy.

Commits
-------

627e1a0 Use a better escaping mechanism for data-prototype attr
@javiereguiluz javiereguiluz deleted the patch-5 branch May 24, 2018 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants