From: Jo-Philipp Wich Date: Wed, 20 Aug 2008 17:08:15 +0000 (+0000) Subject: * luci/themes: add striptags() to page titles X-Git-Tag: 0.8.0~332 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dbfd045b9b0d690ee778f85c9356869794c2d750;p=oweals%2Fluci.git * luci/themes: add striptags() to page titles --- diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index db29affb9..5cc240ef6 100644 --- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm +++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm @@ -43,7 +43,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><% end %> - <%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI + <%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI