You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and get a NPE because Element.isInlineable at 1619 calls parent().isBlock() but a shallowClone has no parent.
Suggest revising test to be && (parent() == null || parent().isBlock()) rather than just parent().isBlock() since the latter causes NPE (unless no parents is not Inlineable...)
The text was updated successfully, but these errors were encountered:
I am using 1.13.1 org.jsoup.jsoup and have code like this:
and get a NPE because Element.isInlineable at 1619 calls parent().isBlock() but a shallowClone has no parent.
Suggest revising test to be && (parent() == null || parent().isBlock()) rather than just parent().isBlock() since the latter causes NPE (unless no parents is not Inlineable...)
The text was updated successfully, but these errors were encountered: