remapNamespacePrefix: Preserve prefix of attribute names
Preserve prefix of attribute names when copying them over to the new node. This fixes an unintentional rewrite of `xml:space` to `space` that also caused scour to strip whitespace that should have been preserved. Closes: #239 Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
985cb58a26
commit
96d85ee819
3 changed files with 12 additions and 2 deletions
|
|
@ -5,4 +5,5 @@
|
|||
<title>Test</title>
|
||||
</svg:rect>
|
||||
<vector:rect height="100" width="100"/>
|
||||
<svg:text xml:space="preserve"> Hallo World </svg:text>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 390 B |
Loading…
Add table
Add a link
Reference in a new issue