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>
9 lines
390 B
XML
9 lines
390 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:vector="http://www.w3.org/2000/svg">
|
|
<rect height="300" width="300"/>
|
|
<svg:rect height="200" width="200">
|
|
<title>Test</title>
|
|
</svg:rect>
|
|
<vector:rect height="100" width="100"/>
|
|
<svg:text xml:space="preserve"> Hallo World </svg:text>
|
|
</svg>
|