allow images for markdown
This commit is contained in:
@@ -2820,7 +2820,6 @@ function purify_html($s) {
|
|||||||
function markdown($s) {
|
function markdown($s) {
|
||||||
$pd = new Parsedown();
|
$pd = new Parsedown();
|
||||||
$pd->setMarkupEscaped(true);
|
$pd->setMarkupEscaped(true);
|
||||||
$pd->setimagesEnabled(false);
|
|
||||||
|
|
||||||
return $pd->text($s);
|
return $pd->text($s);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user