mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
extend escaped subflow category characters
@HiroyasuNishiyama commit 30d88bbe7e
Co-authored-by: HiroyasuNishiyama <hiroyasu.nishiyama.uq@hitachi.com>
This commit is contained in:
parent
a2de514c05
commit
9946132658
@ -208,7 +208,7 @@ RED.palette = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function escapeCategory(category) {
|
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) {
|
function addNodeType(nt,def) {
|
||||||
if (getPaletteNode(nt).length) {
|
if (getPaletteNode(nt).length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user