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

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);
}