diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 182f65e..ff91cce 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -220,8 +220,11 @@ if($currenttag!= '') { if ($row['bDescription'] == '') { $bkDescription = '-'; } else { + // Improve description display (anchors, links, ...) $bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor $bkDescription = preg_replace('|\[(.*?)\]|', ' $1 ', $bkDescription); // highlight starting anchor + $bkDescription = preg_replace('@((http|https|ftp)://.*?)( |\r|$)@', '$1$3', $bkDescription); // make url clickable + } echo '