removing illegal attributes from svg

This commit is contained in:
Justas Zaborovskis 2022-07-08 10:45:33 +01:00
Родитель 1e36889eec
Коммит 4d52e076c1
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 94.37 106.24"><defs><style>.cls-1{fill:url(#linear-gradient);}</style><linearGradient id="linear-gradient" x1="70.01" y1="376.01" x2="9.63" y2="375.38" gradientTransform="matrix(1, 0, 0, -1, 0, 395.97)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1562c"/><stop offset="1" stop-color="#f68b27"/></linearGradient></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M21.37,18.51s23.93,0,25,0,5.31.32,7.57.56c27.27,3.1,36.48,15.35,40.42,21.26C92.51,27.93,88.11,18.44,81.8,12Q70.22.16,46.79,0H0V18.5Z"/><path d="M83.68,39.6a38.93,38.93,0,0,1,3.76,4.91,39.22,39.22,0,0,1,6.73,22,39.64,39.64,0,0,1-39.56,39.53l-7.19.13H10.47C4.7,106.21,0,101,0,94.57v-68h21.5V87.72H46.44c5.31-.1,7.47-.17,10.46-.81a14.32,14.32,0,0,0,7.9-5,23.84,23.84,0,0,0,4.77-9.32,69.58,69.58,0,0,0,1.78-10.51,124.69,124.69,0,0,0,.15-13.55,81.66,81.66,0,0,0-1.92-15,23.62,23.62,0,0,0-1.1-3.06,37.86,37.86,0,0,1,15,8.89Z"/><path class="cls-1" d="M21.38,18.54s23.93,0,25,0,5.31.32,7.57.56c27.27,3.1,36.48,15.35,40.42,21.26C92.52,28,88.12,18.47,81.81,12Q70.23.19,46.8,0H0v18.5Z"/><path d="M83.39,40.11a45.84,45.84,0,0,1,4.18,5.23,36.6,36.6,0,0,1,6.6,21.24,39.64,39.64,0,0,1-39.56,39.53l-7.19.13H10.48C4.71,106.24,0,101,0,94.6v-68h21.5V87.75H46.45c5.31-.1,7.47-.17,10.46-.81a14.32,14.32,0,0,0,7.9-5,23.84,23.84,0,0,0,4.77-9.32,69.58,69.58,0,0,0,1.78-10.51,124.69,124.69,0,0,0,.15-13.55,81.66,81.66,0,0,0-1.92-15,23.62,23.62,0,0,0-1.1-3.06,37.94,37.94,0,0,1,14.7,9.37Z"/></g></g></svg>
<svg id="a4d84da4-55b4-4aab-a667-8782746e3fc1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 94.35 106.13"><defs><linearGradient id="be09d859-489c-467a-bb35-aeb00649baba" x1="69.99" y1="540.66" x2="9.61" y2="541.29" gradientTransform="translate(0 -520.76)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e74d23"/><stop offset="1" stop-color="#f08a14"/></linearGradient></defs><path d="M21.36,18.47h25c1.07,0,5.31.32,7.57.56C81.2,22.14,90.4,34.38,94.35,40.29,92.5,27.89,88.1,18.41,81.79,12Q70.21.13,46.78,0H0V18.5Z" fill="url(#be09d859-489c-467a-bb35-aeb00649baba)"/><path d="M83.38,40.05a46.62,46.62,0,0,1,4.18,5.22,36.57,36.57,0,0,1,6.6,21.24A39.64,39.64,0,0,1,54.6,106l-7.19.13H10.46C4.69,106.17,0,101,0,94.54v-68h21.5V87.68H46.43c5.3-.1,7.46-.17,10.45-.81a14.36,14.36,0,0,0,7.9-5,23.94,23.94,0,0,0,4.77-9.33A68.07,68.07,0,0,0,71.33,62a122.34,122.34,0,0,0,.15-13.54,81.47,81.47,0,0,0-1.92-15,22.33,22.33,0,0,0-1.1-3.06A38,38,0,0,1,83.17,39.8Z"/></svg>

До

Ширина:  |  Высота:  |  Размер: 1.6 KiB

После

Ширина:  |  Высота:  |  Размер: 970 B

Просмотреть файл

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 94.37 106.24"><defs><style>.cls-1{fill:url(#linear-gradient);}</style><linearGradient id="linear-gradient" x1="70.01" y1="376.01" x2="9.63" y2="375.38" gradientTransform="matrix(1, 0, 0, -1, 0, 395.97)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1562c"/><stop offset="1" stop-color="#f68b27"/></linearGradient></defs><g id="Layer_2"><g id="Layer_1-2"><path d="M21.37,18.51s23.93,0,25,0,5.31.32,7.57.56c27.27,3.1,36.48,15.35,40.42,21.26C92.51,27.93,88.11,18.44,81.8,12Q70.22.16,46.79,0H0V18.5Z"/><path d="M83.68,39.6a38.93,38.93,0,0,1,3.76,4.91,39.22,39.22,0,0,1,6.73,22,39.64,39.64,0,0,1-39.56,39.53l-7.19.13H10.47C4.7,106.21,0,101,0,94.57v-68h21.5V87.72H46.44c5.31-.1,7.47-.17,10.46-.81a14.32,14.32,0,0,0,7.9-5,23.84,23.84,0,0,0,4.77-9.32,69.58,69.58,0,0,0,1.78-10.51,124.69,124.69,0,0,0,.15-13.55,81.66,81.66,0,0,0-1.92-15,23.62,23.62,0,0,0-1.1-3.06,37.86,37.86,0,0,1,15,8.89Z"/><path class="cls-1" d="M21.38,18.54s23.93,0,25,0,5.31.32,7.57.56c27.27,3.1,36.48,15.35,40.42,21.26C92.52,28,88.12,18.47,81.81,12Q70.23.19,46.8,0H0v18.5Z"/><path d="M83.39,40.11a45.84,45.84,0,0,1,4.18,5.23,36.6,36.6,0,0,1,6.6,21.24,39.64,39.64,0,0,1-39.56,39.53l-7.19.13H10.48C4.71,106.24,0,101,0,94.6v-68h21.5V87.75H46.45c5.31-.1,7.47-.17,10.46-.81a14.32,14.32,0,0,0,7.9-5,23.84,23.84,0,0,0,4.77-9.32,69.58,69.58,0,0,0,1.78-10.51,124.69,124.69,0,0,0,.15-13.55,81.66,81.66,0,0,0-1.92-15,23.62,23.62,0,0,0-1.1-3.06,37.94,37.94,0,0,1,14.7,9.37Z"/></g></g></svg>
<svg id="a4d84da4-55b4-4aab-a667-8782746e3fc1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 94.35 106.13"><defs><linearGradient id="be09d859-489c-467a-bb35-aeb00649baba" x1="69.99" y1="540.66" x2="9.61" y2="541.29" gradientTransform="translate(0 -520.76)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e74d23"/><stop offset="1" stop-color="#f08a14"/></linearGradient></defs><path d="M21.36,18.47h25c1.07,0,5.31.32,7.57.56C81.2,22.14,90.4,34.38,94.35,40.29,92.5,27.89,88.1,18.41,81.79,12Q70.21.13,46.78,0H0V18.5Z" fill="url(#be09d859-489c-467a-bb35-aeb00649baba)"/><path d="M83.38,40.05a46.62,46.62,0,0,1,4.18,5.22,36.57,36.57,0,0,1,6.6,21.24A39.64,39.64,0,0,1,54.6,106l-7.19.13H10.46C4.69,106.17,0,101,0,94.54v-68h21.5V87.68H46.43c5.3-.1,7.46-.17,10.45-.81a14.36,14.36,0,0,0,7.9-5,23.94,23.94,0,0,0,4.77-9.33A68.07,68.07,0,0,0,71.33,62a122.34,122.34,0,0,0,.15-13.54,81.47,81.47,0,0,0-1.92-15,22.33,22.33,0,0,0-1.1-3.06A38,38,0,0,1,83.17,39.8Z"/></svg>

До

Ширина:  |  Высота:  |  Размер: 1.5 KiB

После

Ширина:  |  Высота:  |  Размер: 970 B