aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-15 17:13:05 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-15 17:13:05 +1100
commita67666e34c280d2b9eb613f57d96ba4ee5fcd749 (patch)
tree4ab73df1aa3be9b4fa1cef5f7fd663d8816ed6ea
parente6c80e93df44a436d9c94a9c076eb321df249b2a (diff)
html escaping fix
-rw-r--r--app/controllers/services_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
index 38bf51772..1db5348c7 100644
--- a/app/controllers/services_controller.rb
+++ b/app/controllers/services_controller.rb
@@ -25,7 +25,7 @@ class ServicesController < ApplicationController
end
end
if !text.empty?
- text += ' <span class="close-button">X</span>'
+ text += ' <span class="close-button">X</span>'.html_safe
end
render :text => text, :content_type => "text/plain" # XXX workaround the HTML validation in test suite
end