1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-25 18:41:39 +03:00
Files
svgo/test/plugins/removeScripts.03.svg.txt

18 lines
411 B
Plaintext

Does not remove normal links, and does remove event attributes.
===
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<a href="https://yewtu.be/watch?v=dQw4w9WgXcQ">
<text y="10" onclick="alert('uwu')">uwu</text>
</a>
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<a href="https://yewtu.be/watch?v=dQw4w9WgXcQ">
<text y="10">uwu</text>
</a>
</svg>