1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

sanitize tab name

This commit is contained in:
Hiroyasu Nishiyama 2022-06-10 20:22:09 +09:00
parent 62cd3b2061
commit 99d32c4758

View File

@ -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);