fixed cropping image
This commit is contained in:
@@ -90,6 +90,7 @@ function article_page_from_markdown($article_id)
|
||||
$markdown = read_file_one_string($_ENV['ARTICLES_FQ_PATH'] . $article_id . '/article.md');
|
||||
|
||||
$parsedown = new Parsedown();
|
||||
$parsedown->setSafeMode(true);
|
||||
$article_content = $parsedown->text($markdown);
|
||||
$article_toc = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user