HTMLdoc v1.8.1
This release fixes some bugs and adds some minor new features to address external usage issues:
- Fixed bug in
htmldoc::children()
where it selected the root nodes instead of their children - Updated
htmldoc::collection()
to return itself instead ofvoid
- Added
htmldoc::parent()
to get the parents of each item in the collection - Added tests and updated
htmldoc::children()
test as this was incorrect - Added
htmldoc::tag()
to enable the tag name to be retrieved from the first item in a collection - Added tests and updated
htmldoc::children()
test as this was incorrect - Updated
tag.php
to usestr_contains()
instead ofmb_strpos()
where possible - Fixed some return value issues in
htmldoc
- Updated composer dependencies