aboutsummaryrefslogtreecommitdiff
path: root/templates/bookmarks.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/bookmarks.tpl.php')
-rw-r--r--templates/bookmarks.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index c95e129..299dc0a 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -208,9 +208,9 @@ if(isset($currenttag) && $currenttag!= '') {
$bkDescription = '-';
} else {
$bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor
- $bkDescription = preg_replace('|\[(.*?)\]|', ' <br/><b>$1 </b>', $bkDescription); // highlight starting anchor
+ $bkDescription = preg_replace('|\[(.*?)\]|', ' <b>$1 </b>', $bkDescription); // highlight starting anchor
}
- echo '<div class="description">'. $bkDescription ."</div>\n";
+ echo '<div class="description">'. nl2br($bkDescription) ."</div>\n";
//if(!isset($hash)) {
echo '<div class="address">'.shortenString($address).'</div>';
//}