diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-08 11:38:38 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-08 11:38:38 +0000 |
commit | 8686fbdb9ccee126e92dbe7ee15ebb227599d715 (patch) | |
tree | 93bb9b4b3d09e9666a900d37bbc959f705fe0eaa /app/controllers/request_controller.rb | |
parent | f12e3cd81cb58630a66e78e3a94ad1399c3e7120 (diff) |
Mark flash string with markup in it as html safe.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 49d2f35f3..dfa3a4834 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -333,7 +333,7 @@ class RequestController < ApplicationController message += _("<p>Your request contains a <strong>postcode</strong>. Unless it directly relates to the subject of your request, please remove any address as it will <strong>appear publicly on the Internet</strong>.</p>"); end if not message.empty? - flash.now[:error] = message + flash.now[:error] = message.html_safe end render :action => 'preview' return |