* Finish task #54205.

This commit is contained in:
孙广明
2022-05-17 11:15:33 +08:00
parent c4e649ef25
commit 46e4eae295
15 changed files with 3937 additions and 3293 deletions
+3 -5
View File
@@ -3250,13 +3250,11 @@ EOD;
if(empty($markdown)) return false;
global $app;
$app->loadClass('parsedownextraplugin');
$app->loadClass('michelf');
$Parsedown = new parsedownextraplugin;
$Michelf = new michelf;
$Parsedown->voidElementSuffix = '>'; // HTML5
return $Parsedown->text($markdown);
return $Michelf->parse($markdown);
}
}