summaryrefslogtreecommitdiffstats
path: root/cron-listjobs-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'cron-listjobs-html.lsp')
-rw-r--r--cron-listjobs-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-listjobs-html.lsp b/cron-listjobs-html.lsp
index 6f21673..d9705e0 100644
--- a/cron-listjobs-html.lsp
+++ b/cron-listjobs-html.lsp
@@ -10,7 +10,7 @@ end %>
<H1>Cron Jobs</H1>
<% for i,tabl in ipairs(view.value) do %>
-<H2><%= tabl.period %></H2>
+<H2><%= html.html_escape(tabl.period) %></H2>
<% if #tabl.jobs == 0 then %>
No jobs
<% else %>
@@ -25,7 +25,7 @@ No jobs
<%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editjob?name="..job.."&redir="..page_info.orig_action, label="Edit "} %>
<%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deletejob?name="..job, label="Delete "} %>
</TD>
- <TD style="white-space:nowrap;"><%= string.gsub(job, "^.*/", "") %></TD>
+ <TD style="white-space:nowrap;"><%= html.html_escape(string.gsub(job, "^.*/", "")) %></TD>
</TR>
<% end %>
</TABLE>