Fix for IE11 viewHelper test failures - issue #298

Simply (naively?) stripping the line breaks from the output to be compared.