processHtml