At the end of the message string just call html_safe.

Example.
flash.now.alert = “message with <b>bolded text</b>”.html_safe

source: http://stackoverflow.com/questions/4051423/using-html-in-rails-flash-messages