We don't want spaces in the serialized value of style attributes.

Add a unittest that should catch this and other issues with parsing/serializing the `style` attribute
This commit is contained in:
Eduard Braun 2016-09-11 14:01:04 +02:00
parent b065137187
commit 082b579410
3 changed files with 10 additions and 1 deletions

2
unittests/style.svg Normal file
View file

@ -0,0 +1,2 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" style=" ; ;;property1: value1 ; ;; property2 :value2; property3 : value3 ;;; ;"></svg>

After

Width:  |  Height:  |  Size: 156 B