Prevent removal of metadata elements if they have only text nodes. Also added some unit tests.
This commit is contained in:
parent
7cfb655cff
commit
2cc9c00ef7
7 changed files with 58 additions and 4 deletions
3
unittests/empty-metadata.svg
Normal file
3
unittests/empty-metadata.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 71 B |
Loading…
Add table
Add a link
Reference in a new issue