MatthewMueller/cheerio — Issue #8: Traversing ignores <script> & <style> tags
Author: MatthewMueller
Created: 2011-11-09 18:29:37+00:00
State: open

Cheerio (& jQuery) traversing ignores elements that aren't tags. HTMLParser treats script and style tags differently (doesn't parse inner content) and has different types - elem.type is "script" and "style" instead of "tag".