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.lede-project.org./?a=commitdiff_plain;h=0e5057cbbb32204eb08901a798ea9df9b3900a92;p=project%2Fluci.git luci-app-firewall: zones.js: fix HTML display in ct helper selection Fixes: #4845 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 154117ff05d0ecbe97ee98493bb647f526166b50) --- 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 6bb366e37e..8a9b1b4bcd 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 @@ -251,7 +251,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;