aboutsummaryrefslogtreecommitdiff
path: root/delete_poll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'delete_poll.rb')
-rwxr-xr-xdelete_poll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/delete_poll.rb b/delete_poll.rb
index a88ec5d..624567c 100755
--- a/delete_poll.rb
+++ b/delete_poll.rb
@@ -106,7 +106,7 @@ else
end
$d.html << "<h2>" + _("Delete this poll") + "</h2>"
-$d.html << _("You want to delete the poll named") + " <b>#{$d.table.name}</b>.<br />"
+$d.html << _("You want to delete the poll named") + " <b>#{CGI.escapeHTML($d.table.name)}</b>.<br />"
$d.html << _("This is an irreversible action!") + "<br />"
$d.html << _("If you are sure that you want to permanently remove this poll, please type “%{question}” into the form.") % {:question => QUESTIONS[confirm]}
deletestr = _("Delete")