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

📝 HTML to React parser.

Results 31 html-react-parser issues
Sort by recently updated
recently updated
newest added

## Expected Behavior Render html to react elements ## Actual Behavior ``` Uncaught (in promise) Error: This browser does not support `document.implementation.createHTMLDocument` at parseFromDocument (html-react-parser.js?v=474f97b5:38:13) at domparser (html-react-parser.js?v=474f97b5:109:25) at HTMLDOMParser...

question

html-react-parser with React 19 I am experiencing an issue with the html-react-parser package when using it with React 19. I’ve encountered compatibility problems which prevent the package from installing. Version:...

question

## Question Can this package render a custom React component. If so, could you provide an example of how to implement that? I was using a similar package as this...

question

## Problem We're currently using this on a React 19 (RC) project and getting some peer dependencies. Seems that this works all right to just use the parser in a...

feature
dependencies

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together. Updates `jest` from 29.7.0 to 30.0.3 Release notes Sourced from jest's releases. 30.0.2 What's Changed Fixes [jest-matcher-utils] Make 'deepCyclicCopyObject'...

dependencies
javascript

Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 2.2.2 to 3.0.1. Release notes Sourced from jest-watch-typeahead's releases. v3.0.1 3.0.1 (2025-06-19) Bug Fixes update ansi-escapes and string-length (#380) (67d5bff) v3.0.0 3.0.0 (2025-06-19) Features Update for Jest...

dependencies
javascript

Bumps [style-to-js](https://github.com/remarkablemark/style-to-js) from 1.1.16 to 1.1.17. Release notes Sourced from style-to-js's releases. v1.1.17 1.1.17 (2025-06-16) Build System deps: bump style-to-object from 1.0.8 to 1.0.9 (#661) (8a87a94) Changelog Sourced from style-to-js's...

dependencies
javascript

## Description: I was using html-react-parser with React 18 and ReactDOM.render, and it worked fine when parsing full HTML strings. However, after upgrading to React 19 and switching to the...

wontfix

## Expected Behavior We have recently upgraded our build tool Parcel to v2.13.3, and since then we started having an error about `f is not a constructor`. ![Image](https://github.com/user-attachments/assets/d65d3b88-e16c-4d65-9420-dc945b919b69) This is...

bug

## Expected Behavior End-of-lines with CRLF or CR should be recognized and treated properly. ## Actual Behavior When parsing HTML string containing CRLF end-of-lines, invalid tags with name `_html_dom_parser_carriage_return_placeholder__` are...

question