Fixed wrong task link generation within Markdown text
This commit is contained in:
@@ -4,29 +4,7 @@
|
||||
</div>
|
||||
<div class="accordion-content">
|
||||
<article class="markdown">
|
||||
<?php if (! isset($is_public)): ?>
|
||||
<?= $this->text->markdown(
|
||||
$task['description'],
|
||||
array(
|
||||
'controller' => 'task',
|
||||
'action' => 'show',
|
||||
'params' => array(
|
||||
'project_id' => $task['project_id']
|
||||
)
|
||||
)
|
||||
) ?>
|
||||
<?php else: ?>
|
||||
<?= $this->text->markdown(
|
||||
$task['description'],
|
||||
array(
|
||||
'controller' => 'task',
|
||||
'action' => 'readonly',
|
||||
'params' => array(
|
||||
'token' => $project['token']
|
||||
)
|
||||
)
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
<?= $this->text->markdown($task['description'], isset($is_public) && $is_public) ?>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user