-
-
Notifications
You must be signed in to change notification settings - Fork 397
Undocumented breaking change #2399
Open
Description
Going from 10 to 11, or 10 to 12.
-import { parseDOM } from 'htmlparser2'; +import { parseDocument } from 'htmlparser2'; function parseMarkup (markup) { const options = {}; - const ast = parseDOM(markup, options); + const ast = parseDocument(markup, options).children; return ast; };
Metadata
Metadata
Assignees
Labels
No labels