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

[TwigComponent] Fix escaping stimulus attributes #969

Merged
merged 1 commit into from Jun 25, 2023

Conversation

1ed
Copy link
Contributor

@1ed 1ed commented Jun 25, 2023

Q A
Bug fix? yes
New feature? no
Tickets Fix #968
License MIT

I think we should do this as late as possible, e.g. in __toString or only in twig and maybe for all the attributes.
So this feels like a naive solution, but it works for now.

@weaverryan
Copy link
Member

weaverryan commented Jun 25, 2023

I don't love this solution, but let's do it for now to fix things. Thanks @1ed!

@weaverryan weaverryan merged commit a5ba00d into symfony:2.x Jun 25, 2023
35 checks passed
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.

Attributes added by stimulus_controller should be escaped
2 participants