addhtmlpreview