summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-15 15:04:59 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-15 15:04:59 +0000
commitd91520b491625b3eed6c8c8d3ba2c8f0db13af7a (patch)
tree07c9540a403edbff18dbceb33b77cfc2cbe8ec6f
parentb00a08b5a0ccf8d842fdafa79557bdf11ae895ea (diff)
downloadsemanticscuttle-d91520b491625b3eed6c8c8d3ba2c8f0db13af7a.tar.gz
semanticscuttle-d91520b491625b3eed6c8c8d3ba2c8f0db13af7a.tar.bz2
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@234 b3834d28-1941-0410-a4f8-b48e95affb8f
-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>';
//}