[format_helpers] Mark escaped text as html_safe (Closes #1183)