/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java
} charset = StandardCharsets.ISO_8859_1;
charset = StandardCharsets.ISO_8859_1; }
final URL url = webResponse.getWebRequest().getUrl(); final HtmlUnitNekoDOMBuilder domBuilder = new HtmlUnitNekoDOMBuilder(this, page, url, null, createdByJavascript); Charset charset = webResponse.getContentCharsetOrNull(); try { if (charset == null) { <extra_id_0> else { domBuilder.setFeature(HTMLScanner.IGNORE_SPECIFIED_CHARSET, true); } if (xhtml) { domBuilder.setFeature(HTMLScanner.ALLOW_SELFCLOSING_TAGS, true); domBuilder.setFeature(HTMLScanner.SCRIPT_STRIP_CDATA_DELIMS, true);