Skip to content

HTMLdoc v1.8.1

Compare
Choose a tag to compare
@hexydec hexydec released this 25 May 19:19
· 22 commits to master since this release

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 of void
  • 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 use str_contains() instead of mb_strpos() where possible
  • Fixed some return value issues in htmldoc
  • Updated composer dependencies