add htmlpreview