diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
index 7a8155260..d65a4f9fd 100644
--- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
+++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/editableList.js
@@ -94,18 +94,19 @@
}
buttons.forEach(function(button) {
- var innerHtml = "";
+ var text = "";
var titleAttribute="";
if (button.icon) {
- innerHtml = ' ';
+ text = ' ';
}
if (button.label) {
- innerHtml += button.label;
+ text += button.label;
}
if (button.title) {
titleAttribute = 'title="'+button.title+'"';
}
- $(''+innerHtml+'')
+ $('')
+ .text(text)
.appendTo(that.topContainer)
.on("click", function(evt) {
evt.preventDefault();