diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:12:12 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-27 21:12:12 -0400 |
commit | 3fa549352ca13d020a8cffaaad0db81b7c66c5b3 (patch) | |
tree | 112a940163db29375e69f0590646d999034f0ccf /app/Templates | |
parent | 23753bde1c1f980f481fec247ced2f4cecc227f3 (diff) |
Replace Markdown parser by Parsedown
Diffstat (limited to 'app/Templates')
-rw-r--r-- | app/Templates/comment_show.php | 2 | ||||
-rw-r--r-- | app/Templates/event_comment_create.php | 2 | ||||
-rw-r--r-- | app/Templates/event_comment_update.php | 2 | ||||
-rw-r--r-- | app/Templates/notification_comment_creation.php | 2 | ||||
-rw-r--r-- | app/Templates/notification_comment_update.php | 2 | ||||
-rw-r--r-- | app/Templates/notification_task_assignee_change.php | 2 | ||||
-rw-r--r-- | app/Templates/notification_task_creation.php | 2 | ||||
-rw-r--r-- | app/Templates/notification_task_update.php | 2 | ||||
-rw-r--r-- | app/Templates/task_show_description.php | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/app/Templates/comment_show.php b/app/Templates/comment_show.php index 181a69fa..5069120d 100644 --- a/app/Templates/comment_show.php +++ b/app/Templates/comment_show.php @@ -21,7 +21,7 @@ <?php endif ?> <div class="markdown"> - <?= Helper\parse($comment['comment']) ?> + <?= Helper\markdown($comment['comment']) ?> </div> </div> diff --git a/app/Templates/event_comment_create.php b/app/Templates/event_comment_create.php index 09d45ed0..4af59614 100644 --- a/app/Templates/event_comment_create.php +++ b/app/Templates/event_comment_create.php @@ -3,5 +3,5 @@ </p> <p class="activity-description"> <em><?= Helper\escape($task_title) ?></em><br/> - <div class="markdown"><?= Helper\parse($comment) ?></div> + <div class="markdown"><?= Helper\markdown($comment) ?></div> </p>
\ No newline at end of file diff --git a/app/Templates/event_comment_update.php b/app/Templates/event_comment_update.php index a42e5dab..fe93b691 100644 --- a/app/Templates/event_comment_update.php +++ b/app/Templates/event_comment_update.php @@ -3,5 +3,5 @@ </p> <p class="activity-description"> <em><?= Helper\escape($task_title) ?></em><br/> - <div class="markdown"><?= Helper\parse($comment) ?></div> + <div class="markdown"><?= Helper\markdown($comment) ?></div> </p>
\ No newline at end of file diff --git a/app/Templates/notification_comment_creation.php b/app/Templates/notification_comment_creation.php index 44662eca..fac6ea25 100644 --- a/app/Templates/notification_comment_creation.php +++ b/app/Templates/notification_comment_creation.php @@ -2,6 +2,6 @@ <h3><?= t('New comment posted by %s', $comment['name'] ?: $comment['username']) ?></h3> -<?= Helper\parse($comment['comment']) ?> +<?= Helper\markdown($comment['comment']) ?> <?= Helper\template('notification_footer', array('task' => $task)) ?>
\ No newline at end of file diff --git a/app/Templates/notification_comment_update.php b/app/Templates/notification_comment_update.php index 1c279737..92c06ffb 100644 --- a/app/Templates/notification_comment_update.php +++ b/app/Templates/notification_comment_update.php @@ -2,6 +2,6 @@ <h3><?= t('Comment updated') ?></h3> -<?= Helper\parse($comment['comment']) ?> +<?= Helper\markdown($comment['comment']) ?> <?= Helper\template('notification_footer', array('task' => $task)) ?>
\ No newline at end of file diff --git a/app/Templates/notification_task_assignee_change.php b/app/Templates/notification_task_assignee_change.php index 9c2bee56..65194f1e 100644 --- a/app/Templates/notification_task_assignee_change.php +++ b/app/Templates/notification_task_assignee_change.php @@ -14,7 +14,7 @@ <?php if (! empty($task['description'])): ?> <h2><?= t('Description') ?></h2> - <?= Helper\parse($task['description']) ?: t('There is no description.') ?> + <?= Helper\markdown($task['description']) ?: t('There is no description.') ?> <?php endif ?> <?= Helper\template('notification_footer', array('task' => $task)) ?>
\ No newline at end of file diff --git a/app/Templates/notification_task_creation.php b/app/Templates/notification_task_creation.php index 0ec5bfc6..43b3b291 100644 --- a/app/Templates/notification_task_creation.php +++ b/app/Templates/notification_task_creation.php @@ -37,7 +37,7 @@ <?php if (! empty($task['description'])): ?> <h2><?= t('Description') ?></h2> - <?= Helper\parse($task['description']) ?> + <?= Helper\markdown($task['description']) ?> <?php endif ?> <?= Helper\template('notification_footer', array('task' => $task)) ?>
\ No newline at end of file diff --git a/app/Templates/notification_task_update.php b/app/Templates/notification_task_update.php index 21c1c3aa..9fd61b57 100644 --- a/app/Templates/notification_task_update.php +++ b/app/Templates/notification_task_update.php @@ -37,7 +37,7 @@ <?php if (! empty($task['description'])): ?> <h2><?= t('Description') ?></h2> - <?= Helper\parse($task['description']) ?: t('There is no description.') ?> + <?= Helper\markdown($task['description']) ?: t('There is no description.') ?> <?php endif ?> <?= Helper\template('notification_footer', array('task' => $task)) ?>
\ No newline at end of file diff --git a/app/Templates/task_show_description.php b/app/Templates/task_show_description.php index 2d90137f..67a38444 100644 --- a/app/Templates/task_show_description.php +++ b/app/Templates/task_show_description.php @@ -5,7 +5,7 @@ </div> <article class="markdown task-show-description"> - <?= Helper\parse($task['description']) ?: t('There is no description.') ?> + <?= Helper\markdown($task['description']) ?: t('There is no description.') ?> </article> </div> <?php endif ?>
\ No newline at end of file |