Skip to content

Commit

Permalink
Fix sanitize node name removing the "/" character.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Nov 9, 2023
1 parent ec12000 commit cd6df8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
});
}
Expand Down

0 comments on commit cd6df8b

Please sign in to comment.