EJPLUGIN-174: added HTML preview support