Skip to content

Releases: j4w8n/htmlfy

v0.5.0

29 Nov 18:17
Compare
Choose a tag to compare
  • breaking: enforce stricter entity behavior for textareas (d8e41e6)
  • feat: introduce 'trim' config option (76b53db) (b35a531)
  • fix: remove unneeded replacements for 'ignore' behavior (bd5d42c)

The main breaking change is that leading and trailing whitespace is no longer trimmed for textareas. If you need this behavior, use the new trim configuration option with prettify: { trim: [ 'textarea' ] }.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

27 Nov 21:26
Compare
Choose a tag to compare
  • feat: add ignore config option (b61050b)

Full Changelog: v0.3.2...v0.4.0

v0.3.2

08 Oct 21:24
Compare
Choose a tag to compare
  • fix: incorrect import for hasHtml, was changed to isHtml in v0.3.1 (4c7ab79)

fixes #7

v0.3.1

07 Oct 11:47
Compare
Choose a tag to compare
  • build: add vitest and tests (61d6760)
  • fix: return non-HTML quicker, during prettify (305327e)

v0.3.0

30 Sep 21:04
Compare
Choose a tag to compare
  • feat: add CJS import support (6183c8e) - fixed #6

v0.2.1

19 Mar 13:22
Compare
Choose a tag to compare

[fix]

Full Changelog: v0.2.0...v0.2.1

v0.2.0

16 Mar 01:44
Compare
Choose a tag to compare

[feat]

  • hasHtml check start and end tags must match (d558443)

Full Changelog: v0.1.1...v0.2.0

v0.1.1

15 Mar 12:25
Compare
Choose a tag to compare

[fix]

v0.1.0

26 Dec 12:50
Compare
Choose a tag to compare
  • fix: Wrongly removes a new line in specific situations. (6e97c2c)
  • feat: Add configuration option to prettify. (1ad0a9e)