1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-01 18:46:52 +03:00

add removeScriptElement plugin

This commit is contained in:
Patrick Klingemann
2017-03-23 12:45:21 -04:00
parent 5c15834144
commit 9f05ac814b
5 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-16"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<script></script>
<circle class="st0" cx="50" cy="50" r="50" />
</svg>
@@@
<?xml version="1.0" encoding="utf-16"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<circle class="st0" cx="50" cy="50" r="50"/>
</svg>

After

Width:  |  Height:  |  Size: 663 B