Remove html from preview