parsedown-extra
parsedown-extra copied to clipboard
Fix PHP 8.2 Deprecation Warning
Source: https://php.watch/versions/8.2/mbstring-qprint-base64-uuencode-html-entities-deprecated#html
Note: Could not use htmlentities()
here because it will encode the HTML markup which we don’t want. The solution comes from a comment in the official PHP website.
This gives me:
Uncaught Error: Call to undefined method ParsedownExtra::textElements() in […]/parsedown-extra/ParsedownExtra.php:46
Also, why did you go from 0.8.0 to 0.8.2? There is already a 0.8.1 out.
I was editing from the master
branch, not from the 0.8.x
branch.
Uncaught Error: Call to undefined method ParsedownExtra::textElements()
You must be using Parsedown version 1.7 and not the beta
version.
BTW, the release orders are weird since the 1.8 versions.