erasing the html end comment tag from appearing