forked from GithubBackups/vichan
allow images for markdown
This commit is contained in:
parent
5c99c8395e
commit
809ab99c9b
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user