-
Notifications
You must be signed in to change notification settings - Fork 69
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
Should xlink:href always be removed? #10
Comments
Hi @niklashultstrom, The In your first example, you're using the In your second example, again the
To see this in action try passing through the following strings at http://svg.enshrined.co.uk/ and you will see the difference:
|
Hmmm, that would be nice to make the same as this : cure53/DOMPurify#233 The usage of |
Hello! Glad someone finally took on the SVG mess on WP :)
I ran in to this issue though, causing the SVG image not to display:
Before
After (upload)
Similair with the image element, though just removing the xlink:href attribute:
Before
After
Which makes me wonder if xlink:href should be removed when containing just an #id or an base64 data-image.
The text was updated successfully, but these errors were encountered: