From 7f70c14afb3702222b8c4d247069a0af9776482e Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 2 Jan 2022 16:29:40 +0100 Subject: [PATCH] code style --- src/changes/changes.xml | 2 +- .../htmlunit/html/serializer/HtmlSerializerInnerOuterText.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 89f88228ea7..4b70a623268 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -9,7 +9,7 @@ - innerText ignores script children. + innerText ignores script children. Script tags in DOMParser-created documents are not executed when adding to pages. diff --git a/src/main/java/com/gargoylesoftware/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java b/src/main/java/com/gargoylesoftware/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java index 2b8871051be..bae83fb4362 100644 --- a/src/main/java/com/gargoylesoftware/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java +++ b/src/main/java/com/gargoylesoftware/htmlunit/html/serializer/HtmlSerializerInnerOuterText.java @@ -57,7 +57,6 @@ public class HtmlSerializerInnerOuterText { public HtmlSerializerInnerOuterText(final BrowserVersion browserVersion) { super(); browserVersion_ = browserVersion; - } /**