Releases: jahilldev/preact-parser
Releases · jahilldev/preact-parser
1.3.7
- Fixed
<img />
srcset attributes breaking due to included ,
- Improved handling of
data-*
attributes and some edge cases
- Fixed
href
attribute breaking when url included =
1.3.5
- Fixed an error where html comments, e.g
<!-- comment -->
, where causing an error while parsing server side
- Now input html strings are sanitised prior to being run through the parser function
1.3.4
- Adjusted handling of
to use unicode instead of a space, e.g
1.3.3
- Align server HTML parser with behaviour of browser based
DOMParser
, when encountering
- Update supported node version to v16.x
1.3.1
- General maintenance release
1.3.0
- BREAKING CHANGE Switched exported function from
html
to parse
- Updated
README
and unit tests
1.2.0
- Fixed issue #1, where word spacing was being incorrectly removed
- Improved trim string logic to only remove line breaks, and double spaces
1.1.0
- Exports an
html()
function that accepts a string, and returns a Preact VDom tree.
- Added example instructions to
README