From dbfd045b9b0d690ee778f85c9356869794c2d750 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich <jow@openwrt.org> Date: Wed, 20 Aug 2008 17:08:15 +0000 Subject: * luci/themes: add striptags() to page titles --- themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/openwrt.org/luasrc/view') diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index b3a53c5894..c875e8db04 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -43,7 +43,7 @@ require("luci.http").prepare_content("text/html") <% if node and node.css then %><link rel="stylesheet" type="text/css" href="<%=resource%>/<%=node.css%>" /><% end %> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-script-type" content="text/javascript" /> - <title><%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI</title> + <title><%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI</title> <!--[if lt IE 7]> <script type="text/javascript"> -- cgit v1.2.3