[BZ#636660] xml:space="preserve" is not processed correctly
Submitted by Patrick McCarty
Link to original bug (#636660)
Description
Created attachment 175978 Patch to fix the issue
For elements (and its child elements, such as ), the SVG 1.1 and SVG 1.2 Tiny recommendations specify that tab and newline characters are to be converted into spaces, but only when xml:space' has the value
preserve'.
The solution, as I see it is to convert these characters in the "_rsvg_text_chomp" function in rsvg-text.c.
See the attached patch.
Thanks.
Patch 175978, "Patch to fix the issue":
0001-Correctly-process-xml-space-preserve-for-text.patch