Skip to content

Commit ddd289b

Browse files
Bump version to 0.0.4
- Fix void element bug (#14) - Void elements like <img> should not have any children (even an empty array `[]` counts as children) - Pass `key` to the `replace` method as the second parameter - Prevent React "key" warning - Update tests, mocks, and helpers - Update README with update on `replace` method
1 parent 20177ee commit ddd289b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-react-parser",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "An HTML to React parser.",
55
"author": "Mark <[email protected]>",
66
"main": "index.js",

0 commit comments

Comments
 (0)