remove other characters
[g.raphael] / seed / toSVG.js
index 1fb9180..db50f64 100644 (file)
@@ -282,7 +282,7 @@ function toSVG() {
     svg += '</svg>';
 
     
-    return svg.replace(/[\u00A0-\u2666<>\&]/g, function(c) {
+    return svg.replace(/[\u00A0-\u2666]/g, function(c) {
         return '&#'+c.charCodeAt(0) + ';';
     });