fixed message preview when using html editor