extend escaped subflow category characters

This commit is contained in:
Hiroyasu Nishiyama 2022-06-11 09:50:28 +09:00
parent 9e52c15829
commit 30d88bbe7e
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ RED.palette = (function() {
}
function escapeCategory(category) {
return category.replace(/[ /.]/g,"_");
return category.replace(/[\x00-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]/g,"_");
}
function addNodeType(nt,def) {
if (getPaletteNode(nt).length) {