diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/searchBox.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/searchBox.js
index 85e5cea87..1c6aad8d2 100644
--- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/searchBox.js
+++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/searchBox.js
@@ -15,6 +15,19 @@
**/
(function($) {
+/**
+ * options:
+ * - minimumLength : the minimum length of text before firing a change event
+ * - delay : delay, in ms, after a keystroke before firing change event
+ *
+ * methods:
+ * - value([val]) - gets the current value, or, if `val` is provided, sets the value
+ * - count - sets or clears a sub-label on the input. This can be used to provide
+ * a feedback on the number of matches, or number of available entries to search
+ * - change - trigger a change event
+ *
+ */
+
$.widget( "nodered.searchBox", {
_create: function() {
var that = this;
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js
index 94dafb4e7..8e0249183 100644
--- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js
+++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/treeList.js
@@ -148,7 +148,7 @@
if (item.icon) {
$('').appendTo(label);
}
- $('').html(item.label).appendTo(label);
+ $('').text(item.label).appendTo(label);
if (item.children) {
if (Array.isArray(item.children)) {
that._addChildren(container,item.children,depth);