summaryrefslogtreecommitdiff
path: root/modules/notification
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
commit715d714ade637b6292bab378c4d7deb332542477 (patch)
tree5ef6af71c9ac21d557abca8f7895a85d2a20e929 /modules/notification
parentbd1b2f414741bb9bb68c8f94a291bedd5c9925c0 (diff)
parent0f9bfbdd572c44ab6b095e18f376c6d340f5fd26 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
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>