diff --git a/app/helpers/bootstrap_flash_helper.rb b/app/helpers/bootstrap_flash_helper.rb index 64569f8a..08d1fda8 100644 --- a/app/helpers/bootstrap_flash_helper.rb +++ b/app/helpers/bootstrap_flash_helper.rb @@ -16,7 +16,7 @@ def bootstrap_flash(options = {}) Array(message).each do |msg| text = content_tag(:div, content_tag(:button, raw("×"), :class => "close", "data-dismiss" => "alert") + - msg, :class => "alert fade in alert-#{type} #{options[:class]}") + msg.html_safe, :class => "alert fade in alert-#{type} #{options[:class]}") flash_messages << text if msg end end