We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you run the following code in JRuby it will result in the > in the style element being HTML entity encoded >, this does not occur with MRI.
html = '<!DOCTYPE html><html><head><style>tr > div { display:block; }</style></head><body><h1>Mr. Belvedere Fan > Club</h1></body></html>' html_doc = Nokogiri::HTML(html) puts html_doc.to_html
<!DOCTYPE html > <html><head><style>tr > div { display:block; }</style></head><body><h1>Mr. Belvedere Fan > Club</h1></body></html>
I have a pull request to address this: #1316
The text was updated successfully, but these errors were encountered:
@tbeauvais - Thanks for pointing this out. I'll take a look at your PR!
Sorry, something went wrong.
Your PR was merged into master. This will be fixed in 1.6.8 final.
Thank you!
flavorjones
No branches or pull requests
If you run the following code in JRuby it will result in the > in the style element being HTML entity encoded >, this does not occur with MRI.
I have a pull request to address this: #1316
The text was updated successfully, but these errors were encountered: