From 99461326587e06d2350a2084512b2b8a3bea49bf Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Tue, 14 Jun 2022 07:47:54 +0100 Subject: [PATCH] extend escaped subflow category characters @HiroyasuNishiyama commit 30d88bbe7efcbf72519e18bbbca246de6a5e0484 Co-authored-by: HiroyasuNishiyama --- .../node_modules/@node-red/editor-client/src/js/ui/palette.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js index 09f4758f1..513e8dcf8 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js @@ -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) {