added \"setHtml\" feature