From d91520b491625b3eed6c8c8d3ba2c8f0db13af7a Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 15 Jan 2009 15:04:59 +0000 Subject: git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@234 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/bookmarks.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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('|\[(.*?)\]|', '
$1 ', $bkDescription); // highlight starting anchor + $bkDescription = preg_replace('|\[(.*?)\]|', ' $1 ', $bkDescription); // highlight starting anchor } - echo '
'. $bkDescription ."
\n"; + echo '
'. nl2br($bkDescription) ."
\n"; //if(!isset($hash)) { echo '
'.shortenString($address).'
'; //} -- cgit v1.2.3