diff --git a/packages/node_modules/@node-red/nodes/core/common/21-debug.html b/packages/node_modules/@node-red/nodes/core/common/21-debug.html index 7f9c621e4..8691dfbea 100644 --- a/packages/node_modules/@node-red/nodes/core/common/21-debug.html +++ b/packages/node_modules/@node-red/nodes/core/common/21-debug.html @@ -108,7 +108,7 @@ toggle: "active", visible: function() { return this.tosidebar; }, onclick: function() { - var label = this.name||"debug"; + var label = RED.utils.sanitize(this.name||"debug"); var node = this; activateAjaxCall(node, node.active, function(resp, textStatus, xhr) { var historyEvent = {