Commit cd6df8b3 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix sanitize node name removing the "/" character.

parent ec120001
...@@ -16,7 +16,7 @@ function sanitizeNodeName(string) { ...@@ -16,7 +16,7 @@ function sanitizeNodeName(string) {
'`': '', '`': '',
'=': '' '=': ''
}; };
return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap (s) { return String(string).replace(/[&<>"'`=]/g, function fromEntityMap (s) {
return entityMap[s]; return entityMap[s];
}); });
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment