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
Repro:
require 'nokogiri' d = Nokogiri::XML::Document.new root = Nokogiri::XML::Element.new('bar', d) txt = Nokogiri::XML::Text.new('foo', d) ent = Nokogiri::XML::EntityReference.new(d, '#8217') root << text root << ent d << root puts d.to_html
In JRuby 1.7.2:
<bar>foo#8217</bar>
In MRI 1.9.3:
<bar>foo’</bar>
Looks like for whatever reason the entity gets concatenated without & and ;.
&
;
The text was updated successfully, but these errors were encountered:
I'm not sure how, but perhaps this has to do with 0d8c3f2?
Sorry, something went wrong.
b242c92
Thanks!
No branches or pull requests
Repro:
In JRuby 1.7.2:
In MRI 1.9.3:
Looks like for whatever reason the entity gets concatenated without
&
and;
.The text was updated successfully, but these errors were encountered: