Closed otariidae closed 7 years ago
( and ) are not encoded in default SVG encoding mode(encodeURIComponent). This cause error in CSS.
(
)
wrong output example:
body { background: url(data:image/svg+xml,%3Csvg%3E%3Cg transform%3D%22translate(0)%22%2F%3E%3C%2Fsvg%3E); }
Wrap url by quotes.
This PR solves #78.
Problem
(
and)
are not encoded in default SVG encoding mode(encodeURIComponent). This cause error in CSS.wrong output example:
Solution
Wrap url by quotes.
This PR solves #78.