From dbfd045b9b0d690ee778f85c9356869794c2d750 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Aug 2008 17:08:15 +0000 Subject: [PATCH] * luci/themes: add striptags() to page titles --- themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 2 +- .../openwrt-light/luasrc/view/themes/openwrt-light/header.htm | 2 +- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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