From: Jo-Philipp Wich Date: Mon, 1 Mar 2021 08:09:35 +0000 (+0100) Subject: luci-app-firewall: zones.js: fix HTML display in ct helper selection X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=154117ff05d0ecbe97ee98493bb647f526166b50;p=openwrt-luci.git luci-app-firewall: zones.js: fix HTML display in ct helper selection Fixes: #4845 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js index 835d9eb759..b319a4b849 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js @@ -259,7 +259,7 @@ return view.extend({ o.depends('auto_helper', '0'); o.modalonly = true; for (var i = 0; i < ctHelpers.length; i++) - o.value(ctHelpers[i].name, '%s (%s)%s'.format(ctHelpers[i].description, ctHelpers[i].name.toUpperCase(), ctHelpers[i].name.toUpperCase())); + o.value(ctHelpers[i].name, E('%s (%s)%s'.format(ctHelpers[i].description, ctHelpers[i].name.toUpperCase(), ctHelpers[i].name.toUpperCase()))); o = s.taboption('advanced', form.Flag, 'log', _('Enable logging on this zone')); o.modalonly = true;