Close all HTML tags properly before appedning fill