summaryrefslogtreecommitdiff
path: root/modules/notification
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification')
-rw-r--r--modules/notification/views/comment_published.html.php2
-rw-r--r--modules/notification/views/item_added.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php
index 70709979..4a56cdad 100644
--- a/modules/notification/views/comment_published.html.php
+++ b/modules/notification/views/comment_published.html.php
@@ -8,7 +8,7 @@
<table>
<tr>
<td><?= t("Comment:") ?></td>
- <td><?= p::purify($comment->text) ?></td>
+ <td><?= nl2br(p::purify($comment->text)) ?></td>
</tr>
<tr>
<td><?= t("Author Name:") ?></td>
diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php
index 4fa5d42d..87ea90fa 100644
--- a/modules/notification/views/item_added.html.php
+++ b/modules/notification/views/item_added.html.php
@@ -21,7 +21,7 @@
<? if ($item->description): ?>
<tr>
<td><?= t("Description:") ?></td>
- <td><?= p::purify($item->description) ?></td>
+ <td><?= nl2br(p::purify($item->description)) ?></td>
</tr>
<? endif ?>
</table>