From ce46437b30625ab8cf5eed2cb157b21f2acd38a1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 27 Sep 2018 21:15:33 +0200 Subject: [PATCH] luci-theme-bootstrap: do not double escape menu titles Fixes #1410. Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/themes/bootstrap/header.htm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index a6bb326976..7405384814 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -98,7 +98,7 @@ local nnode = node.nodes[r] write('
  • %s
  • ' %{ nodeurl(prefix, r, nnode.query), - pcdata(striptags(translate(nnode.title))) + striptags(translate(nnode.title)) }) end @@ -116,13 +116,13 @@ local grandchildren = disp.node_childs(nnode) if #grandchildren > 0 then - write('') else write('
  • %s
  • ' %{ nodeurl(category, r, nnode.query), - pcdata(striptags(translate(nnode.title))) + striptags(translate(nnode.title)) }) end end -- 2.30.2