forcing text/html content_type for preview action

(cherry picked from commit a9034f41017d8c660223c80afa16e9aa888cfac7)