Prettyhtml Versions Save

💅 The formatter for the modern web https://prettyhtml.netlify.com/

v0.5.1

5 years ago

Bugfix

https://github.com/Prettyhtml/prettyhtml/issues/60 Conditional comment detection

v0.5.0

5 years ago

Add https://github.com/Prettyhtml/prettyhtml/issues/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

5 years ago

For better vue compatibility it's allowed to use text elements (textarea, script, pre) as void elements.

v0.4.0

5 years ago

For better vuejs compatibility it's allowed to self-close none-void elements.

v0.3.4

5 years ago

Don't add quotes when an attribute has no value

v0.3.3

5 years ago

Bugfix

Fail with correct lexer or parser error

v0.3.2

5 years ago

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.1

5 years ago

Bug fix

Fix https://github.com/Prettyhtml/prettyhtml/issues/42 with a custom branch until maintainer is available to merge https://github.com/wooorm/property-information/pull/13.

v0.3.0

5 years ago

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

5 years ago

Bugfix

Fix https://github.com/Prettyhtml/prettyhtml/issues/46 Don't insert required parents