diff --git a/composer.json b/composer.json index 1b043bed8..7314c059a 100644 --- a/composer.json +++ b/composer.json @@ -84,7 +84,8 @@ "Grav\\": "system/src/Grav" }, "files": [ - "system/defines.php" + "system/defines.php", + "system/aliases.php" ] }, "archive": { diff --git a/system/aliases.php b/system/aliases.php new file mode 100644 index 000000000..387f3a4c9 --- /dev/null +++ b/system/aliases.php @@ -0,0 +1,5 @@ +settings = $package->toArray(); - $html_description = \Parsedown::instance()->line($this->__get('description')); + $html_description = Parsedown::instance()->line($this->__get('description')); $this->data->set('slug', $package->__get('slug')); $this->data->set('description_html', $html_description); $this->data->set('description_plain', strip_tags($html_description));