From 3667de18a995a06b81d6a291c41c0355045cc81c Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Fri, 10 Jun 2022 20:22:09 +0900 Subject: [PATCH] sanitize tab name --- .../@node-red/editor-client/src/js/ui/common/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js index 0541c79e0..17e64e48c 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/tabs.js @@ -828,7 +828,7 @@ RED.tabs = (function() { } // link.attr("title",tab.label); - RED.popover.tooltip(link,function() { return tab.label}) + RED.popover.tooltip(link,function() { return RED.utils.sanitize(tab.label); }); if (options.onadd) { options.onadd(tab);