aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/bookmarks/views/default/object/bookmarks.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php
index 7e7c20af4..f28a45619 100644
--- a/mod/bookmarks/views/default/object/bookmarks.php
+++ b/mod/bookmarks/views/default/object/bookmarks.php
@@ -85,6 +85,9 @@ HTML;
$url = $bookmark->address;
$display_text = $url;
$excerpt = elgg_get_excerpt($bookmark->description);
+ if ($excerpt) {
+ $excerpt = " - $excerpt";
+ }
if (strlen($url) > 25) {
$bits = parse_url($url);
@@ -100,7 +103,7 @@ HTML;
'text' => $display_text
)));
- $content = "<span class=\"elgg-icon elgg-icon-following\"></span>$link - $excerpt";
+ $content = "<span class=\"elgg-icon elgg-icon-following\"></span>$link{$excerpt}";
$params = array(
'entity' => $bookmark,