summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-20 17:08:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-20 17:08:15 +0000
commitdbfd045b9b0d690ee778f85c9356869794c2d750 (patch)
treec1d3c6c85d6d940d21328ce3e2e50398012a404a /themes/openwrt.org
parent0938135dbbf8681bbd287612e3f2ed4d6fba3f35 (diff)
* luci/themes: add striptags() to page titles
Diffstat (limited to 'themes/openwrt.org')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm2
1 files changed, 1 insertions, 1 deletions
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 b3a53c589..c875e8db0 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">