remove unnecessary linebreak in html template