I want to save empty space in one SVG <text>.
This works fine with the xml: space = "save" attribute on a text element in all browsers except IE.
<text x="0" y="15" fill="red" xml:space="preserve">I love SVG!</text>
Here is jsfiddle, try opening this script in Chrome / Firefox and in the latest IE, note that the spaces in the text of the text element are not saved in IE.
jsfiddle
Any workaround, so does this work in IE too?
source share