diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 70e4c64..c223d5f 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -190,9 +190,12 @@ if(isset($currenttag) && $currenttag!= '') { echo '\n"; if ($row['bDescription'] == '') { - $row['bDescription'] = '-'; + $bkDescription = '-'; + } else { + $bkDescription = preg_replace('|\[\/.*?\]|', '', filter($row['bDescription'])); // remove final anchor + $bkDescription = preg_replace('|\[(.*?)\]|', '
$1 : ', $bkDescription); // remove final anchor } - echo '
'. filter($row['bDescription']) ."
\n"; + echo '
'. $bkDescription ."
\n"; if(!isset($hash)) { echo '
'.shortenString($address).'
'; } diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php index 9592384..7918c3f 100644 --- a/templates/editbookmark.tpl.php +++ b/templates/editbookmark.tpl.php @@ -41,8 +41,8 @@ $this->includeTemplate("dojo.inc"); - - + + ←