diff --git a/src/models/Package.php b/src/models/Package.php index 2e838e5..f19244a 100644 --- a/src/models/Package.php +++ b/src/models/Package.php @@ -384,7 +384,7 @@ class Package extends ActiveRecord */ public function getReadmeHtml() { - if ($this->readme_format && $this->readme) { + if ($this->readme) { if ($this->readme_format == 'markdown') { $parser = new GithubMarkdown(); return $parser->parse($this->readme); diff --git a/src/views/mod/view.php b/src/views/mod/view.php index 6c22dc1..9327f89 100644 --- a/src/views/mod/view.php +++ b/src/views/mod/view.php @@ -18,6 +18,15 @@ $this->params['breadcrumbs'][] = $this->title;