projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb26748
)
remove other characters
author
Alan Knowles
<alan@roojs.com>
Wed, 16 Dec 2020 02:43:41 +0000
(10:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 16 Dec 2020 02:43:41 +0000
(10:43 +0800)
seed/toSVG.js
patch
|
blob
|
history
diff --git
a/seed/toSVG.js
b/seed/toSVG.js
index
1fb9180
..
db50f64
100644
(file)
--- a/
seed/toSVG.js
+++ b/
seed/toSVG.js
@@
-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) + ';';
});