Use cutOffEndTag in visitHtml