#5541·cheerio

filter() 和 children() 会忽略自定义伪元素和 quirksMode

作者: jakezwang创建于 2026年9月18日更新于 2026年9月18日

`filter()` 和接受选择器的遍历方法,例如 `children()`,会忽略传递给 `load()` 的 `pseudos` 选项。同一个选择器在 `find()` 和 `is()` 中也有效。

内容来源: cheeriojs/cheerio