summaryrefslogtreecommitdiff
path: root/app/Helper/ProjectHeaderHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/ProjectHeaderHelper.php')
-rw-r--r--app/Helper/ProjectHeaderHelper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Helper/ProjectHeaderHelper.php b/app/Helper/ProjectHeaderHelper.php
index e4f96107..2eb7fa9e 100644
--- a/app/Helper/ProjectHeaderHelper.php
+++ b/app/Helper/ProjectHeaderHelper.php
@@ -67,14 +67,14 @@ class ProjectHeaderHelper extends Base
public function getDescription(array &$project)
{
if ($project['owner_id'] > 0) {
- $description = t('Project owner: ').'**'.$this->helper->text->e($project['owner_name'] ?: $project['owner_username']).'**'.PHP_EOL.PHP_EOL;
+ $description = t('Project owner: ').'<strong>'.$this->helper->text->e($project['owner_name'] ?: $project['owner_username']).'</strong>'.PHP_EOL.PHP_EOL;
if (! empty($project['description'])) {
- $description .= '***'.PHP_EOL.PHP_EOL;
- $description .= $project['description'];
+ $description .= '<hr>'.PHP_EOL.PHP_EOL;
+ $description .= $this->helper->text->markdown($project['description']);
}
} else {
- $description = $project['description'];
+ $description = $this->helper->text->markdown($project['description']);
}
return $description;