question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't reach anything under noscript tag

See original GitHub issue

I’ve got cheerio.load(pageContent, { decodeEntities: false }), but then when I try to match an element that’s under a noscript tag it doesn’t work. I thought setting decodeEntities to false would allow this. How do I match that element?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
paulsmithkccommented, Mar 31, 2021

<noscript> tags should be parsed as HTML as that is what they contain, not text or javascript.

6reactions
enricopolanskicommented, Dec 2, 2017

try cheerio.load(pageContent, [ xmlMode: true});

Read more comments on GitHub >

github_iconTop Results From Across the Web

In HTML webpage, the content within noscript tags are not ...
I understand that the contents of the noscript tag should run if a browser is not running javascript. In chrome or firefox, with...
Read more >
The Noscript element - HTML: HyperText Markup Language
The HTML element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting...
Read more >
Noscript in head contains invalid HTML elements ... - YouTube
In this video, we will discuss the issue when Noscript tag in head... ... Access the page with your Chrome browser, right-click it, ......
Read more >
Child elements of <noscript> tags not always rendered
1. With JavaScript enabled, open a page containing a <noscript> tag which contains other tags (such as the attached demo.html file). 2. Disable...
Read more >
Everything I Know About The Script Tag - Eager Blog
The actual behavior varied from browser to browser, but included showing noscript blocks if any script tag used earlier in the document used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found