Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Releases: jtolj/html-attributes

v2.1.0

01 Oct 14:04
85d1fd2
Compare
Choose a tag to compare
  • Add merge() alias and tests for mergeAttributes().
  • Support adding string separated class names via addClass() and merge()

v2.0

30 Sep 14:39
5bf2686
Compare
Choose a tag to compare

This release has a breaking change to the escaping behavior.

  • Change to escapeHtml from escapeHtmlAttr for escaping attribute values.
  • No longer escapes output of "unsafe" values if allow unsafe is set to true.
  • Add convenience methods only() / without()
  • Update/fix tests

v1.0.3

30 Sep 13:03
1373306
Compare
Choose a tag to compare
  • Improve Tests
  • Improve readability of magic methods

v1.0.2

08 Aug 11:56
bfd3916
Compare
Choose a tag to compare

Fixed example trait to persist the instance of the class returned.

v1.0.1

07 Aug 20:09
c6071e9
Compare
Choose a tag to compare

Fixing documentation.

v1.0.0

07 Aug 20:00
Compare
Choose a tag to compare

Initial release.