* luci/themes: add striptags() to page titles
This commit is contained in:
parent
0938135dbb
commit
dbfd045b9b
3 changed files with 3 additions and 3 deletions
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue