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

Sanitize Debug node name when display enable/disable message

This commit is contained in:
Nick O'Leary 2021-02-09 15:04:00 +00:00
parent fad8dcd304
commit dd780945e1
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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 = {