passing html to content mode using html_safe