Clean html before render()