Indeed. This kind of things make you spend a lot of time, and finally make you look like a fool. The parser tests should be blatantly clear. In this case, the ignored space before html tags makes things more confusing.
Isn't the primary point of this text that the newline gets preserved?