Remove unnecessary line breaks in html