HTMLdoc v1.7.2
This release fixes some bugs and improves type hinting and docblocks:
- Fixed issue in
htmldoc::__clone()
where in PHP 7.4 it must not specify a return type - Updated attribute selectors to fix bugs with how attributes are handled when they are set with no value or with no equals
- Fixed issue in
$=
comparison attribute selector where it didn't search for the last occurrence - Added new comparison operators in attribute selectors
-|=
and~=
- Fixed bug in text class where there was no
set()
method to enable the parent object to be set which is required if you add HTML that has textnodes at the root level - Fixed issue in
autoload.php
where the return type was incorrect - Updated and added tests
- Fixed issues with docblocks
- Added stability badge to
readme.md