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 b007d75d1c
commit b3fe88ca58
3 changed files with 60 additions and 7 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