add tags removing to html prepare