1
0
mirror of https://github.com/svg/svgo.git synced 2025-09-21 17:21:58 +03:00
Files
svgo/test/plugins/addAttributesToSVGElement.03.svg
Bogdan Chadkin 447f82ca6b Convert addAttributesToSVGElement to item plugin (#1448)
"full" plugins prevents from possible optimisation. We need to migrate
all plugins to "perItem" type and later implement visitor plugin api to
allow state.
2021-03-22 01:24:41 +03:00

18 lines
264 B
XML

Add multple attributes with values
===
<svg xmlns="http://www.w3.org/2000/svg">
test
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" focusable="false" data-image="icon">
test
</svg>
@@@
{"attributes":[{"focusable":"false"},{"data-image":"icon"}]}