Renamed getHtmlWithRange -> getHtmlWithRange2.