Remove whitespace from test to cover more cases

There was already a test to verify that multiline HTML strings are
handled properly. However, since this was done with a multiline ruby
string, additional whitespaces were included, distorting the result.
Replace newline chars with whitespace (fixes #43)