1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 11:28:41 +01:00

allow images for markdown

This commit is contained in:
Lorenzo Yario 2024-06-05 18:02:08 -07:00 committed by GitHub
parent 5c99c8395e
commit 809ab99c9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2820,7 +2820,6 @@ function purify_html($s) {
function markdown($s) {
$pd = new Parsedown();
$pd->setMarkupEscaped(true);
$pd->setimagesEnabled(false);
return $pd->text($s);
}