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

Discussion: Allow interpolation in “style” and “script” tags for template engine. #123

Open
theengineear opened this issue Nov 4, 2022 · 0 comments

Comments

@theengineear
Copy link
Collaborator

Mostly opening this ticket up as a decision log. Currently, the template engine will short-circuit and simply replace the textContent of such an interpolated element with /* x-element: Interpolation is not allowed here. */.

Authors can use unsafeHtml or manually inject text content into the DOM node if they really want to inject unsafe user content into such elements.

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

No branches or pull requests

1 participant