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

๐Ÿ“ HTML to DOM parser.

Results 7 html-dom-parser issues
Sort by recently updated
recently updated
newest added

Bumps [eslint](https://github.com/eslint/eslint) from 8.22.0 to 8.23.0. Release notes Sourced from eslint's releases. v8.23.0 Features 3e5839e feat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas) 30b1a2d feat: add allowEmptyCase option...

dependencies

The current implementation won't parse `` tags correctly. This is because `` tags use `node.content.childNodes` instead of `node.childNodes` for tracking their children. Related line: https://github.com/remarkablemark/html-dom-parser/blob/master/lib/client/utilities.js#L86

feature

## Expected Behavior html-dom-parser uses a server dom parser implementation on deno, similar to nodejs. But with guards in place if there is no document defined. ## Actual Behavior Throwing...

feature
question

## Expected Behavior Carriage return preserved in client parser: ```js import parse from 'html-dom-parser'; parse('\r\n'); // '\r\n' ``` ## Actual Behavior Carriage return stripped in client parser: ```js import parse...

bug

## Expected Behavior html-react-parser should work correctly in CodeSandbox (Vite/ESM-based environment). ## Actual Behavior When using html-react-parser in CodeSandbox, the console throws a module resolution error: Could not find module...

bug

## Problem Currently, `html-dom-parser` [unsafely assigns strings to `innerHtml`](https://github.com/remarkablemark/html-dom-parser/blob/f5b378af2fa438c74d54ecedfd3715e4f90c6e45/src/client/domparser.ts#L109C5-L109C31). Browsers now support a method for developers to assert that any `innerHtml` has been sanitized and is safe to assign to...

feature

## Expected Behavior ```js parse( `\r\n\r\nTest\r\n\r\n\r\n\r\n` ) ``` should produce: ```txt - element (html) - element (head) - text (\r\n) - element (title) - text (Test) - text (\r\n) -...

bug