diff --git a/packages/node_modules/@node-red/nodes/core/storage/50-file.html b/packages/node_modules/@node-red/nodes/core/storage/50-file.html
index 3d4c1762b..85d793cf7 100644
--- a/packages/node_modules/@node-red/nodes/core/storage/50-file.html
+++ b/packages/node_modules/@node-red/nodes/core/storage/50-file.html
@@ -219,10 +219,11 @@
oneditprepare: function() {
var node = this;
var encSel = $("#node-input-encoding");
+ var label = node._("file.encoding.none");
$("", {
value: "none",
- label: node._("file.encoding.none")
- }).appendTo(encSel);
+ label: label
+ }).text(label).appendTo(encSel);
encodings.forEach(function(item) {
if(Array.isArray(item)) {
var group = $("", {
@@ -233,14 +234,14 @@
$("", {
value: enc,
label: enc
- }).appendTo(group);
+ }).text(enc).appendTo(group);
}
}
else {
$("", {
value: item,
label: item
- }).appendTo(encSel);
+ }).text(item).appendTo(encSel);
}
});
encSel.val(node.encoding);
@@ -277,10 +278,11 @@
oneditprepare: function() {
var node = this;
var encSel = $("#node-input-encoding");
+ var label = node._("file.encoding.none");
$("", {
value: "none",
- label: node._("file.encoding.none")
- }).appendTo(encSel);
+ label: label
+ }).text(label).appendTo(encSel);
encodings.forEach(function(item) {
if(Array.isArray(item)) {
var group = $("", {
@@ -291,14 +293,14 @@
$("", {
value: enc,
label: enc
- }).appendTo(group);
+ }).text(enc).appendTo(group);
}
}
else {
$("", {
value: item,
label: item
- }).appendTo(encSel);
+ }).text(item).appendTo(encSel);
}
});
encSel.val(node.encoding);