Prevent removal of metadata elements if they have only text nodes. Also added some unit tests.

This commit is contained in:
JSCHILL1 2009-04-15 10:18:32 -05:00
parent 7cfb655cff
commit 2cc9c00ef7
7 changed files with 58 additions and 4 deletions

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg">
<metadata></metadata>
</svg>

After

Width:  |  Height:  |  Size: 71 B