fix issue where edit view shows HTML as TEXT