Skip to content

Releases: Prettyhtml/prettyhtml

v0.5.1

30 Oct 21:02
Compare
Choose a tag to compare

Bugfix

#60 Conditional comment detection

v0.5.0

28 Oct 16:35
Compare
Choose a tag to compare

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

26 Oct 20:45
Compare
Choose a tag to compare

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

v0.4.0

26 Oct 19:49
Compare
Choose a tag to compare

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

v0.3.4

25 Oct 20:31
Compare
Choose a tag to compare

Don't add quotes when an attribute has no value

v0.3.3

20 Oct 18:18
Compare
Choose a tag to compare

Bugfix

Fail with correct lexer or parser error

v0.3.2

20 Oct 16:55
Compare
Choose a tag to compare

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

20 Oct 08:33
Compare
Choose a tag to compare

Bug fix

Fix #42 with a custom branch until maintainer is available to merge wooorm/property-information#13.

v0.3.0

19 Oct 14:26
Compare
Choose a tag to compare

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

19 Oct 12:05
Compare
Choose a tag to compare

Bugfix

Fix #46 Don't insert required parents