diff options
-rw-r--r-- | scuttle.css | 4 | ||||
-rw-r--r-- | templates/bookmarks.tpl.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scuttle.css b/scuttle.css index 00f231c..6c11af3 100644 --- a/scuttle.css +++ b/scuttle.css @@ -238,6 +238,10 @@ li.xfolkentry.shared { border-left: 3px solid #FA0; } +li.xfolkentry div div.description span.anchorBookmark { + font-family:monospace; +} + /* SIDEBAR */ div#sidebar { diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index d1148e1..1bc6f61 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -225,7 +225,7 @@ if($currenttag!= '') { } else { // Improve description display (anchors, links, ...) $bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor - $bkDescription = preg_replace('|\[(.*?)\]|', ' <b>$1 </b>', $bkDescription); // highlight starting anchor + $bkDescription = preg_replace('|\[(.*?)\]|', ' <span class="anchorBookmark">$1</span> ', $bkDescription); // highlight starting anchor $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '<a href="$1" rel="nofollow">$1</a>$3', $bkDescription); // make url clickable } |