diff --git a/web/share/js/kvm/gpio.js b/web/share/js/kvm/gpio.js index fd602ce8..096c0c66 100644 --- a/web/share/js/kvm/gpio.js +++ b/web/share/js/kvm/gpio.js @@ -134,7 +134,8 @@ export function Gpio(__recorder) { var __createItem = function(item) { if (item.type === "label") { - return item.text; + // User may want to use HTML in the text so we don't perform escaping here. + return `${item.text}`; } else if (item.type === "input") { let e_ch_class = tools.escape(`__gpio-led-${item.channel}`);