/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoHtmlParser.java
domBuilder.setFeature ( HTMLScanner.IGNORE_SPECIFIED_CHARSET, true ) ;
Charset charset = webResponse.getContentCharsetOrNull(); try { if (charset == null) { charset = StandardCharsets.ISO_8859_1; } else { <extra_id_0> } if (xhtml) { domBuilder.setFeature(HTMLScanner.ALLOW_SELFCLOSING_TAGS, true); domBuilder.setFeature(HTMLScanner.SCRIPT_STRIP_CDATA_DELIMS, true); domBuilder.setFeature(HTMLScanner.STYLE_STRIP_CDATA_DELIMS, true); }