diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-15 17:13:05 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-15 17:13:05 +1100 |
commit | a67666e34c280d2b9eb613f57d96ba4ee5fcd749 (patch) | |
tree | 4ab73df1aa3be9b4fa1cef5f7fd663d8816ed6ea | |
parent | e6c80e93df44a436d9c94a9c076eb321df249b2a (diff) |
html escaping fix
-rw-r--r-- | app/controllers/services_controller.rb | 2 |
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 |