Replace allow_tags with mark_safe

allow_tags does not work with model methods.