Fix whitespace collapsing when it shouldn't on non-textual elements that have xml:space=preserve
This commit is contained in:
parent
6482314390
commit
99dfb0f819
4 changed files with 17 additions and 3 deletions
8
unittests/no-collapse-lines.svg
Normal file
8
unittests/no-collapse-lines.svg
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"
|
||||
viewBox="0.1 -0.333 125 125" xml:space="preserve">
|
||||
<g id="Layer_1_2_">
|
||||
<path d="M24.599,16.542v27.584l-4.994-1.033L0,60.671l52.687,63.612l51.361-40.729l20.844-18.664c0,0-23.527-4.871-27.404-5.673
|
||||
c0-4.4,0-47.951,0-47.951L43.071,0L24.599,16.542z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 415 B |
Loading…
Add table
Add a link
Reference in a new issue