html2text
html2text copied to clipboard
Support extracting the raw URL from the HTML href attribute
Often you just need the raw URL from an A tag. Added the parameter 'href' to the drop_links to return just the raw URL. Email clients like Gmail will correctly process raw URLs, so this can be useful when returning markup is not desired.
Also updated the tests for PHP 8.3 and fixed a static warning.