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
require 'nokogiri' x = Nokogiri::XML("<foo><br/></foo>") puts x.to_xhtml
In JRuby 1.7.2:
<foo> <br> </foo>
In MRI:
<foo> <br /> </foo>
Unfortunately this means it produces invalid XHTML.
The text was updated successfully, but these errors were encountered:
Here's another example:
require 'nokogiri' x = Nokogiri::XML("<img src=\"http://jigsaw.w3.org/css-validator/images/vcss\" />") puts x.to_xhtml
In JRuby:
<img src="http://jigsaw.w3.org/css-validator/images/vcss">
<img src="http://jigsaw.w3.org/css-validator/images/vcss" />
Sorry, something went wrong.
db84d9d
Thanks!
No branches or pull requests
In JRuby 1.7.2:
In MRI:
Unfortunately this means it produces invalid XHTML.
The text was updated successfully, but these errors were encountered: