You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
Excuse this, I seem to be have using a modified version of raphael.export.js, more than likely a modified version since this library doesn't seem to handle ampersands.
Sorry this does work with ampersands, our issue seems to have been related to spaces in text which were stripped out and were causing ampersands to also be stripped out, I'm not sure why but I fixed it by in the function escapeXML; Adding the an extra item for spaces to the replace object:
Hi, I've just inherited a project which uses this library, so bare with me.
We have found an issue when adding ampersands, so for instance if my input text is
Joe & Bob's
When looking at the source code of the SVG it is
Joe  &  Bob's
Which creates this double space around the ampersand
The text was updated successfully, but these errors were encountered: