mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-09 15:47:14 +00:00
Fix sanitize node name removing the "/" character.
This commit is contained in:
parent
ec12000136
commit
cd6df8b323
@ -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];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user