Add a specific Kanboard description parser

This parser still calls the markdown parser, but also replace #<task number> to a link to the given task.
This commit is contained in:
Olivier Maridat
2014-05-16 09:02:14 +02:00
parent 2d299f63b8
commit 4c10cb5c98
3 changed files with 13 additions and 1 deletions

View File

@@ -72,7 +72,7 @@
<h2><?= t('Description') ?></h2>
<?php if ($task['description']): ?>
<article class="markdown task-show-description">
<?= Helper\markdown($task['description']) ?: t('There is no description.') ?>
<?= Helper\parse($task['description']) ?: t('There is no description.') ?>
</article>
<?php else: ?>
<form method="post" action="?controller=task&amp;action=description&amp;task_id=<?= $task['id'] ?>" autocomplete="off">