html-react-parser 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/html-react-parser.js +306 -289
- package/dist/html-react-parser.js.map +1 -1
- package/dist/html-react-parser.min.js +1 -1
- package/dist/html-react-parser.min.js.map +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -41,6 +41,7 @@ parse('<p>Hello, World!</p>'); // React.createElement('p', {}, 'Hello, World!')
|
|
|
41
41
|
- [htmlparser2](#htmlparser2)
|
|
42
42
|
- [trim](#trim)
|
|
43
43
|
- [Migration](#migration)
|
|
44
|
+
- [v3.0.0](#v300)
|
|
44
45
|
- [v2.0.0](#v200)
|
|
45
46
|
- [v1.0.0](#v100)
|
|
46
47
|
- [FAQ](#faq)
|
|
@@ -371,6 +372,10 @@ parse('<p> </p>', { trim: true }); // React.createElement('p')
|
|
|
371
372
|
|
|
372
373
|
## Migration
|
|
373
374
|
|
|
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
|
+
|
|
374
379
|
### v2.0.0
|
|
375
380
|
|
|
376
381
|
Since [v2.0.0](https://github.com/remarkablemark/html-react-parser/releases/tag/v2.0.0), Internet Explorer (IE) is no longer supported.
|