Fix bug when DOCTYPE is present. Big performance improvement to makeWellFormed() function

This commit is contained in:
JSCHILL1 2010-02-05 16:28:13 -06:00
parent c835423e8f
commit c00bc8b70c
5 changed files with 37 additions and 14 deletions

6
unittests/comments.svg Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" ?>
<!-- Empty -->
<!-- Comment #2 -->
<svg xmlns="http://www.w3.org/2000/svg">
</svg>
<!-- After -->

After

Width:  |  Height:  |  Size: 120 B