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

rum does not currently offer a way to *not* escape attribute values #266

Open
jf opened this issue Oct 1, 2024 · 0 comments
Open

rum does not currently offer a way to *not* escape attribute values #266

jf opened this issue Oct 1, 2024 · 0 comments

Comments

@jf
Copy link

jf commented Oct 1, 2024

as alluded to in #265, values that require not escaping are basically impossible to create right now. Attribute values are always escaped. You can :dangerouslySetInnerHTML... but that is on inner HTML, and not on an attribute value.

One could do :dangerouslySetInnerHTML on the parent of whatever tag you need an attribute value to not be escaped.. but you would end up having to possibly and probably un-protect a whole lot of 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