-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fecthing meta #322
Comments
Hi @hemanth , I'm unable to reproduce this (based on my understanding of the issue). Here's the script I'm running: var cheerio = require('..');
var markup = [
'<html>',
'<head>',
'<meta http-equiv="refresh">',
'</head>',
'<body>',
'<h1>Hello, world!</h1>',
'</body>',
'</html>'
].join('');
var $ = cheerio.load(markup);
console.log(cheerio.version);
console.log($.html('h1'));
console.log($.html('meta'));
console.log($.html('meta[http-equiv="refresh"]'));
console.log($.html('meta[http-equiv=\'refresh\']')); ..and the output, as expected:
Could you share the output of that script when run on your machine? If it is identical, could you share a simple test case using Cheerio directly? One problem that comes to mind is that
|
@jugglinmike It works fine that way for me too. Does |
I don't really know much about |
@jugglinmike Yes the same is been discussed at nom#2 :
|
@hemanth I don't quite understand what that example is intended to demonstrate. My interpretation of the behavior is that there is no issue, so tell me where I'm wrong:
|
I guess @jugglinmike got it right :) |
I does not fetch meta for me as well |
W.R.T nom#2
The text was updated successfully, but these errors were encountered: