tests: Add unit tests for the escaping of quote characters in attribute values

This commit is contained in:
Michael Witten 2017-08-24 23:42:31 +00:00
parent 89acc4c95b
commit 7739f058c3
2 changed files with 45 additions and 1 deletions

8
unittests/entities.svg Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
a="'"
b='"'
c="''&quot;"
d='""&apos;'
e='&apos;&apos;""'
/>

After

Width:  |  Height:  |  Size: 144 B