Extra whitespace in generated HTML