Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix sanitize node name removing the "/" character.

comfyanonymouscd6df8b323d4
diff --git a/web/scripts/app.js b/web/scripts/app.js
index 638afd56c..50e205222 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -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];
});
}