Escaping of failure messages in HtmlReport

I had some tests that where failing do to different newlines and tabs. This is the output i was getting.

    "Expected 'a failure message' to equal 'a failure message '."

Now we get the more useful

    "Expected 'a failure message' to equal 'a failure message\t\n'."