Prevent html escaping on error messages

Allows for error messages to have html in them and to be displayed properly as html instead of escaped strings.