The following patch fixes some issues in the SVG generation. In particular, it does some additional escaping and uses a nonbreaking space through a unicode character entitiy as spacer (otherwise spaces collapse).
Hi,
thanks for looking into this. The whitespace escaping can be achieved a bit easier in the SVGGenerator constructor:
spacer = " "; maskWs=true; // mask white space
Using Firefox or Chrome there is no visible change of indentation - which SVG viewer is affected?
Log in to post a comment.
Hi,
thanks for looking into this. The whitespace escaping can be achieved a bit easier in the SVGGenerator constructor:
Using Firefox or Chrome there is no visible change of indentation - which SVG viewer is affected?
Last edit: André Simon 2016-02-08