Added html escaping to the formatter. This is a problem as the formating relies on the output being rendered as html rather than text in knockout.