Skip to content

Commit

Permalink
Revert "latest neko"
Browse files Browse the repository at this point in the history
This reverts commit 4bc3d36.
  • Loading branch information
rbri committed Jun 2, 2024
1 parent 4bc3d36 commit 3d31812
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.htmlunit.WebResponse;
import org.htmlunit.cyberneko.HTMLConfiguration;
import org.htmlunit.cyberneko.HTMLElements;
import org.htmlunit.cyberneko.HTMLEventInfo;
import org.htmlunit.cyberneko.HTMLScanner;
import org.htmlunit.cyberneko.HTMLTagBalancingListener;
import org.htmlunit.cyberneko.xerces.parsers.AbstractSAXParser;
Expand Down Expand Up @@ -758,7 +759,7 @@ HtmlElement getBody() {
}

private static boolean isSynthesized(final Augmentations augs) {
return augs.isSynthesized();
return augs instanceof HTMLEventInfo && ((HTMLEventInfo) augs).isSynthesized();
}

private static void appendChild(final DomNode parent, final DomNode child) {
Expand Down

0 comments on commit 3d31812

Please sign in to comment.