mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-11 15:45:07 +02:00
#431 Markdown as default parser
This commit is contained in:
@@ -56,10 +56,10 @@ class Page
|
||||
}
|
||||
|
||||
if (is_array($page_content)) {
|
||||
$page['summary'] = $page['summary'];
|
||||
$page['content'] = $page['content'];
|
||||
$page['summary'] = $this->monstra['markdown']->text($page['summary']);
|
||||
$page['content'] = $this->monstra['markdown']->text($page['content']);
|
||||
} else {
|
||||
$page['content'] = $page_content;
|
||||
$page['content'] = $this->monstra['markdown']->text($page_content);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user