luci-app-upnp: escape map title

Fixes: #3597
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-02-08 11:24:51 +01:00
parent c2eeb09bd9
commit 50720d36a3

View file

@ -69,7 +69,7 @@ return L.view.extend({
var m, s, o;
m = new form.Map('upnpd', _('Universal Plug & Play'),
m = new form.Map('upnpd', [_('Universal Plug & Play')],
_('UPnP allows clients in the local network to automatically configure the router.'));
s = m.section(form.GridSection, '_active_rules');