- Issue created by @scampbell1
- πΊπΈUnited States scampbell1 New York
I created a simple patch to fix the deprecation warning
PHP 8.1 and later have deprecated passing null strings to the strip_tags function and the following PHP warning is generated:
Deprecated function: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in Html2Text\Html2Text->converter() (line 383 of /code/vendor/html2text/html2text/src/Html2Text.php)
Have a string that is processed by the HTML2Text composer package as a null.
Write a patch to check if a string is null and set it to a blank string if it is.
Active
3.0
Code
I created a simple patch to fix the deprecation warning