Apply a modified patch submitted by Jan Thor in bug 717254 to fix a bug whereby Scour would keep the <defs/> element if it was there but had only whitespace or unreferenced children.
This commit is contained in:
parent
bdae2bafae
commit
4657cb7515
4 changed files with 61 additions and 20 deletions
6
unittests/whitespace-defs.svg
Normal file
6
unittests/whitespace-defs.svg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<defs id="defs_whitespace">
|
||||
</defs>
|
||||
<defs id="defs_empty"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 169 B |
Loading…
Add table
Add a link
Reference in a new issue