Flexible, fast, powerful, customer, developer friendly web content management system and cms framework
GNU General Public License v2.0
92
stars
44
forks
source link
Parsedown 2.0 doesn't use Parsedown::text() anymore, but Parsedown::toHTML() #363
Closed
marcus-at-localhost closed 1 month ago
Got the same error in the plaintext cp with Markdown as https://github.com/slackero/phpwcms/issues/360
Unfortunately, the Parsedown 2.0 Docs are not updated but
Parsedown->text()
is wrong and doesn't exist in https://github.com/erusev/parsedown/blob/v2.0.0-beta-1/src/Parsedown.php anymore, instead useParsedown->toHtml($markdown)
https://github.com/erusev/parsedown/pull/708#issuecomment-944799267
(Sent a pull request)