Fix broken links (Markdown content) for public boards (#319)
This commit is contained in:
@@ -5,7 +5,20 @@
|
||||
</div>
|
||||
|
||||
<article class="markdown task-show-description">
|
||||
<?= Helper\markdown($task['description']) ?: t('There is no description.') ?>
|
||||
<?php if (! isset($is_public)): ?>
|
||||
<?= Helper\markdown($task['description']) ?>
|
||||
<?php else: ?>
|
||||
<?= Helper\markdown(
|
||||
$task['description'],
|
||||
array(
|
||||
'controller' => 'task',
|
||||
'action' => 'readonly',
|
||||
'params' => array(
|
||||
'token' => $project['token']
|
||||
)
|
||||
)
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
</article>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
Reference in New Issue
Block a user