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
Is thrown on (malformed) documents with missing encoding info on v1.3.2 Steps to reproduce:
require 'nokogiri' require 'open-uri' doc = Nokogiri::HTML(open('http://www.europapress.es/valencia/noticia-moby-dick-john-huston-obrira-cap-setmana-filmoteca-destiu-valencia-20090731183544.html')) doc.meta_encoding
results in: ArgumentError: NULL pointer given from (irb):55:in `meta_encoding' from (irb):55 from :0
The text was updated successfully, but these errors were encountered:
returns nil when an HTML document does not declare a meta encoding tag. closed by d0e9312
Sorry, something went wrong.
No branches or pull requests
Is thrown on (malformed) documents with missing encoding info on v1.3.2
Steps to reproduce:
results in:
ArgumentError: NULL pointer given
from (irb):55:in `meta_encoding'
from (irb):55
from :0
The text was updated successfully, but these errors were encountered: