summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/bookmarks.tpl.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index 4751515..7837e6c 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -17,11 +17,11 @@ if((isset($currenttag) && $GLOBALS['enableCommonTagDescription'])
<?php
if(isset($currenttag) && $cdservice->getLastTagDescription($currenttag)) {
$description = $cdservice->getLastTagDescription($currenttag);
- echo filter($description['cdDescription']);
+ echo nl2br(filter($description['cdDescription']));
} elseif(isset($hash) && $cdservice->getLastBookmarkDescription($hash)) {
$description = $cdservice->getLastBookmarkDescription($hash);
- echo filter($description['cdTitle']). "<br/>";
- echo filter($description['cdDescription']). "<br/>";
+ echo nl2br(filter($description['cdTitle'])). "<br/>";
+ echo nl2br(filter($description['cdDescription'])). "<br/>";
}
if($logged_on_userid>0) {