File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/htmlunit/html/parser/neko Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3232import org .htmlunit .WebResponse ;
3333import org .htmlunit .cyberneko .HTMLConfiguration ;
3434import org .htmlunit .cyberneko .HTMLElements ;
35+ import org .htmlunit .cyberneko .HTMLEventInfo ;
3536import org .htmlunit .cyberneko .HTMLScanner ;
3637import org .htmlunit .cyberneko .HTMLTagBalancingListener ;
3738import org .htmlunit .cyberneko .xerces .parsers .AbstractSAXParser ;
@@ -758,7 +759,7 @@ HtmlElement getBody() {
758759 }
759760
760761 private static boolean isSynthesized (final Augmentations augs ) {
761- return augs .isSynthesized ();
762+ return augs instanceof HTMLEventInfo && (( HTMLEventInfo ) augs ) .isSynthesized ();
762763 }
763764
764765 private static void appendChild (final DomNode parent , final DomNode child ) {
You can’t perform that action at this time.
0 commit comments