summaryrefslogtreecommitdiffstats
path: root/skins-read-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-15 21:44:39 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-15 21:44:39 +0000
commit3c67f77555e636f949588c049c2074c70a1cbe33 (patch)
tree1b9e71fc71f4d8e0617b0b0973cb411009eb4331 /skins-read-html.lsp
parent5ec7a43c6f0a6cd1369da101fa0e3f1f12d99973 (diff)
downloadacf-alpine-baselayout-3c67f77555e636f949588c049c2074c70a1cbe33.tar.bz2
acf-alpine-baselayout-3c67f77555e636f949588c049c2074c70a1cbe33.tar.xz
Modified html.lua and viewlibrary.lua and all html files to html_escape variables before displaying them.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1678 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'skins-read-html.lsp')
-rw-r--r--skins-read-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/skins-read-html.lsp b/skins-read-html.lsp
index 9bb70a0..95547a5 100644
--- a/skins-read-html.lsp
+++ b/skins-read-html.lsp
@@ -7,11 +7,11 @@
<DL>
<% for i,skin in ipairs(view.value) do %>
- <dt><%= skin.value %></dt>
+ <dt><%= html.html_escape(skin.value) %></dt>
<% if (skin.inuse) then %>
<dd>in use</dd>
<% else %>
- <dd>[<a href="update?skin=<%= skin.value %>">use this skin</a>]</dd>
+ <dd>[<a href="update?skin=<%= html.html_escape(skin.value) %>">use this skin</a>]</dd>
<% end %>
<% end %>
</DL>