#5562·cheerio

wrap 和 wrapAll 会忽略已删除的元素

作者: Strohutt创建于 2026年9月27日更新于 2026年9月27日

在移除元素后,`.wrap()` 和 `.wrapAll()` 会默默地将其解包:

内容来源: cheeriojs/cheerio