diff --git a/scuttle.css b/scuttle.css index 211e587..2303ff4 100644 --- a/scuttle.css +++ b/scuttle.css @@ -261,6 +261,7 @@ p.commondescription { color: #555; font-weight: bold; border-left: 1px solid #CC8; + width: 70%; } p.tags { 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']) 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']). "
"; - echo filter($description['cdDescription']). "
"; + echo nl2br(filter($description['cdTitle'])). "
"; + echo nl2br(filter($description['cdDescription'])). "
"; } if($logged_on_userid>0) {