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
Thanks a a cool library. I am interested in stripping embedded javascript from SVG (standalone or SVG embedded in HTML). Is that something that strip-js supports or aim to support ?
The text was updated successfully, but these errors were encountered:
Actually, no, I take it back. I tested with a simple SVG and it worked, but with a more complex SVG it corrupted it (although successfully removed all JavaScript from it). The reason is because this module sanitizes HTML before stripping out JavaScript, and can't handle generic XML tags.
Thanks a a cool library. I am interested in stripping embedded javascript from SVG (standalone or SVG embedded in HTML). Is that something that strip-js supports or aim to support ?
The text was updated successfully, but these errors were encountered: