Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for NUTCH-2464 get textual content from nested heading nodes #244

Merged
merged 1 commit into from Nov 30, 2017

Conversation

jorgelbg
Copy link
Member

As suggested by @sebastian-nagel refactored the getNodeValue method to use NodeWalker iterators. This allows traversing the entire DOM tree in case of nested nodes as explained on the issue. Added a test case for this issue as well.

@sebastian-nagel
Copy link
Contributor

Looks good to me. Thanks, @jorgelbg!

@sebastian-nagel sebastian-nagel merged commit 55c7f75 into apache:master Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants