Fatal error when deprecated iconv extension is no longer available
Usages of HtmlTruncator, which is apparently no longer maintained, result in a fatal PHP error when the deprecated PHP extension iconv is no longer available. This is because the HTML5Lib sub-dependency, which is also not maintained, relies on iconv.
Fatal error: Uncaught Error: Class 'HTML5Lib\Exception' not found in /.../vendor/electrolinux/php-html5lib/src/HTML5Lib/InputStream.php:81
Fixed in v1.2.0 by switching the dependency to https://github.com/Masterminds/html5-php instead of php-html5lib
Oh, that's great news! I thought we were on the latest and last. Thanks for your reply.
I'm unable to install v1.2.0 via composer. Packagist only shows 1.1.0