You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cleanText comes back as <svg viewbox="0 0 209.621 248.055"> instead of <svg viewBox="0 0 209.621 248.055">
I cannot run a specific query that will convert viewbox back to viewBox because it is not the only instance that I need. I have more whitelisted fields and mapping all of them is not feasible.
The text was updated successfully, but these errors were encountered:
Is there a way to preserve the case of whitelisted attributes when using
filterXSS
?Given this code:
cleanText
comes back as<svg viewbox="0 0 209.621 248.055">
instead of<svg viewBox="0 0 209.621 248.055">
I cannot run a specific query that will convert
viewbox
back toviewBox
because it is not the only instance that I need. I have more whitelisted fields and mapping all of them is not feasible.The text was updated successfully, but these errors were encountered: