dom-parser icon indicating copy to clipboard operation
dom-parser copied to clipboard

Fast dom parser based on regexps

Results 22 dom-parser issues
Sort by recently updated
recently updated
newest added

"version": "0.1.6", "resolved": "https://registry.npmjs.org/dom-parser/-/dom-parser-0.1.6.tgz", "integrity": "sha512-3nVRKbLEwmGfghLoeT1dxlK/0votalnOfasP+8VCHYDfDuCETY4LeMblfOeqww6XZk2ymZ1Uewy/hVad6Dy3yw==" When including `` The script text gets turned into: `script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXX">` I'm using the following code to fetch the html back: `htmlNode.outerHTML`

Here is a quick demonstration that shows that lookup for tags with `_` is not working as expected. ```js let doc = "Hello "; let dom = new DomParser().parseFromString(doc, 'text/xml');...