Fix viewbox whitespace processing.
This fixes processing of files where viewbox has leading/trailing whitespace. Signed-off-by: Alexey Ivanov <rbtz@ph34r.me>
This commit is contained in:
parent
0609c59676
commit
5bcaaa4fdb
3 changed files with 14 additions and 2 deletions
3
unittests/viewbox-remove-ws.svg
Normal file
3
unittests/viewbox-remove-ws.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="123.456" height="654.321" viewBox=" 0 0 123.456 654.321 ">
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 152 B |
Loading…
Add table
Add a link
Reference in a new issue