Closed Enrico204 closed 4 years ago
Can you try to add a test for this case?
Sorry, I just realized that the crash happened before commit 1d82e8a93a8395bc2155809f809d831184583120 (I was using version 1.1.1). The 1.2 version fixed already this crash :-)
When calling
FullText()
in an ElementNode which as one ElementNode children with no other nodes inside (not even TextNode, which seems strange but it happens), the recursive function should not continue trying to traverse the first child, as it'snil
. This pull request handles that case.