Merge pull request #3646 from node-red-hitachi/fix-tab-name-sanitize

Fix to sanitize tab name
This commit is contained in:
Nick O'Leary 2022-06-10 06:56:40 -05:00 committed by GitHub
commit 551e73adef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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