Open stefanor opened 8 years ago
https://github.com/yola/svgify/blob/a7ef8970be15e28c4a36fa9f3c1e39ea3b3a9a61/vectorify.js#L5-L8
Is this correct? Having 2 backslashes for both of those seems a bit odd. Also, what about backslash characters?.
Usually in this sort of situation, one wants to:
Replace \ with \\, then replace " with \".
\
\\
"
\"
@AhoyM: Initially commented, on your PR, here https://github.com/yola/yonav/pull/105#discussion_r36356485.
But the code has since moved.
ping @kahnjw, original author
https://github.com/yola/svgify/blob/a7ef8970be15e28c4a36fa9f3c1e39ea3b3a9a61/vectorify.js#L5-L8
Is this correct? Having 2 backslashes for both of those seems a bit odd. Also, what about backslash characters?.
Usually in this sort of situation, one wants to:
Replace
\
with\\
, then replace"
with\"
.