Mark generated HTML as html_safe for using in view