- Fixed handling of falsey arguments in
addClass
- Added ability to override self-closing behavior per-tag
- Fixed boolean attributes not being parsed properly (was outputting
checked="false"
per example), for real this time I swear
- Fixed boolean attributes not being rendered properly (was outputting
checked="false"
per example)
- Fixed ability to replace children
- Fixed null attributes being left removed
- Added
TreeObject::prepend
andTreeObject::append
to set childs before/after other children
- Fixed case where
nest
would create invalid tags from strings
- Added
Table
element
- Fixed a bug in the rendering of children
- Children are now rendered via their
render
method instead of toString - Added Tag::removeAttribute
- Bugfixes
- Fixed a bug in classes removing
- Allow camelCased setting of attributes
- Allow flat fetching of children (ie. ignore dot notation)
- Added
getAttribute
method
- Fix a bug in numerical attributes (min, max, etc)
- Fix JSON attributes being encoded on rendering
- Initial release