We were creating the `<g>` element without specifying a namespace, which caused the library to add `xmlns` attributes with the document's default SVG namespace to elements that we appended underneath it. (At least, that's what I think was happening.) Specify the SVG namespace when creating it to avoid the mess and reduce resulting file size. Change-Id: Ida27494aeae9dece16f878c16cf9aa582e6deac3
7 lines
406 B
XML
7 lines
406 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>remove</title><g fill="red">
|
|
|
|
<g id="remove">
|
|
<path id="trash-can" d="M12 10h-1v6h1v-6zm-2 0h-1v6h1v-6zm4 0h-1v6h1v-6zm0-4v-1h-5v1h-3v3h1v7.966l1 1.031v-.074.077h6.984l.016-.018v.015l1-1.031v-7.966h1v-3h-3zm1 11h-7v-8h7v8zm1-9h-9v-1h9v1z"/>
|
|
</g>
|
|
</g></svg>
|