html-to-react
html-to-react copied to clipboard
A lightweight library that converts raw HTML to a React DOM structure.
Using in a input tag the "checked" attribute, the lib throws an error. I fixed it adding the value "defaultChecked" in the NON_STANDARD_ATTRIBUTES array in "camel-case-attribute-names.js" file.
Added TS-Types for easier use with typescript projects.
Using in a input tag the "checked" attribute, the lib throws an error. I fixed it adding the value "defaultChecked" in the NON_STANDARD_ATTRIBUTES array in "camel-case-attribute-names.js" file.
Fixes #30 ("Should not insert spans into tables even if there is white space") by stripping out _all_ white-space text nodes. This changes non-table nodes too, e.g.: ` ` into...