diff options
Diffstat (limited to 'modules-edit-html.lsp')
-rw-r--r-- | modules-edit-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-edit-html.lsp b/modules-edit-html.lsp index 75c360f..e3c0f8d 100644 --- a/modules-edit-html.lsp +++ b/modules-edit-html.lsp @@ -27,8 +27,8 @@ displayitem(form.value.mtime) <textarea name="filecontent"> <%= html.html_escape(form.value.filecontent.value) %> </textarea> -<% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(form.value.filecontent.errtxt, "\n", "<BR>") %></P><% end %> -<% if form.value.filecontent.descr then %><P CLASS='descr'><%= string.gsub(form.value.filecontent.descr, "\n", "<BR>") %></P><% end %> +<% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<BR>") %></P><% end %> +<% if form.value.filecontent.descr then %><P CLASS='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<BR>") %></P><% end %> <% if form.type == "form" then %> <H3>Save</H3> |