Releases: Prettyhtml/prettyhtml
Releases · Prettyhtml/prettyhtml
v0.5.1
Bugfix
#60 Conditional comment detection
v0.5.0
Add #43
Regarding whitespace handling there are two additional rules:
- Collapses multiple blank lines into a single blank line.
- Empty lines at the start and end of blocks are removed. (Files always end with a single newline, though.)
v0.4.1
For better vue compatibility it's allowed to use text elements (textarea
, script
, pre
) as void elements.
v0.4.0
For better vuejs compatibility it's allowed to self-close none-void elements.
v0.3.4
Don't add quotes when an attribute has no value
v0.3.3
Bugfix
Fail with correct lexer or parser error
v0.3.2
Bug fix
Use different branch name for a custom fork of property-information
due to yarn limitation.
Miscellaneous
- Upgrade lerna
- Run test and build tasks in parallel
v0.3.0
Breaking changes
prettyhtml()
returns a vfile
prettyhtml()
can throw and returns an error from typevfile-message
- Files aren't written when fatal errors were found.
- Update
prettyhtml-quick
- Update typescript types
Bug fixes
v0.2.4
Bugfix
Fix #46 Don't insert required parents