-
Notifications
You must be signed in to change notification settings - Fork 142
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
Sanitize broken in JRuby #54
Comments
A little more info. Adding a "puts node" before line 151 of santize.rb MRI
JRuby
|
The JRuby version of Nokogiri behaves very differently from the MRI version. There's not much Sanitize can do about this short of switching to a custom HTML parser. For this reason, I don't consider JRuby an officially supported platform. Sorry. |
Looking like an inconsistency in Nokogiri between JRuby and MRI |
FYI, I tracked down this to an issue in Nokogiri: https://github.com/tenderlove/nokogiri/issues/691 |
|
Yes, the underlying nokogiri bug was fixed in 1.5.5 |
Case #1 - MRI (1.9.2-p290, 1.9.3-p194)
Case #2 (JRuby-1.6.7.2)
The text was updated successfully, but these errors were encountered: