remove blanks before html code