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

remove monkey patch introduced in #1251 #1744

Merged
merged 1 commit into from
Mar 29, 2018
Merged

remove monkey patch introduced in #1251 #1744

merged 1 commit into from
Mar 29, 2018

Conversation

jvshahid
Copy link
Member

this is an ugly change whose only purpose is to mask the difference between
libxml and nekohtml. we agreed to stop doing that a while ago and just accept
that different libraries will behave different. furthermore, it caused a stack
overflow while parding documents with a TD element that doesn't have any
parents in #1501

fixes #1501

this is an ugly change whose only purpose is to mask the difference between
libxml and nekohtml. we agreed to stop doing that a while ago and just accept
that different libraries will behave different. furthermore, it caused a stack
overflow while parding documents with a TD element that doesn't have any
parents in #1501

fixes #1501
@jvshahid jvshahid requested a review from flavorjones March 26, 2018 19:34
Copy link
Member

@flavorjones flavorjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree we shouldn't be trying to hack the parsers to emit the same markup. Thanks so much for looking into this! I'll make sure the CHANGELOG notes that document structure may change in subtle ways.

@flavorjones flavorjones merged commit dbf550f into master Mar 29, 2018
@flavorjones flavorjones deleted the fix-1501 branch January 6, 2019 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JRuby Nokogiri raises StackOverflowError when parsing some pages
2 participants