Fix sanitize node name removing the "/" character.

This commit is contained in:
comfyanonymous 2023-11-09 13:10:19 -05:00
parent ec12000136
commit cd6df8b323

View File

@ -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];
});
}