Fixed incorrect HTML parsing for newlines.