]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk...
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 15 Jan 2009 15:04:59 +0000 (15:04 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 15 Jan 2009 15:04:59 +0000 (15:04 +0000)
templates/bookmarks.tpl.php

index c95e129bb8c3f5949902da823d96bd3ccba32c54..299dc0a977c3ef3087473af205fda7b93796dfd1 100644 (file)
@@ -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>';
                //}