/src/main/java/org/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java
if ( node instanceof HtmlHead) {
if ( node instanceof DomText ) {
for (final DomNode child : node.getChildren()) { appendNode(builder, child, mode, insideHead); } } protected void appendNode(final HtmlSerializerTextBuilder builder, final DomNode node, final Mode mode, final boolean insideHead) { <extra_id_0> appendText(builder, (DomText) node, mode); } else if (node instanceof HtmlBreak) { appendBreak(builder, (HtmlBreak) node); } else if (node instanceof HtmlParagraph) {