1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

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