mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +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];
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user