added isHtml
removed idea