Skip to content

Commit 78fa1ef

Browse files
docs(readme): add migration section for v3.0.0
1 parent a0f63a2 commit 78fa1ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ parse('<p>Hello, World!</p>'); // React.createElement('p', {}, 'Hello, World!')
4141
- [htmlparser2](#htmlparser2)
4242
- [trim](#trim)
4343
- [Migration](#migration)
44+
- [v3.0.0](#v300)
4445
- [v2.0.0](#v200)
4546
- [v1.0.0](#v100)
4647
- [FAQ](#faq)
@@ -371,6 +372,10 @@ parse('<p> </p>', { trim: true }); // React.createElement('p')
371372

372373
## Migration
373374

375+
### v3.0.0
376+
377+
[domhandler](https://github.com/fb55/domhandler) has been upgraded to v5 so some [parser options](https://github.com/fb55/htmlparser2/wiki/Parser-options) like `normalizeWhitespace` have been removed.
378+
374379
### v2.0.0
375380

376381
Since [v2.0.0](https://github.com/remarkablemark/html-react-parser/releases/tag/v2.0.0), Internet Explorer (IE) is no longer supported.

0 commit comments

Comments
 (0)