aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-11 18:12:04 -0700
committerfriendica <info@friendica.com>2015-03-11 18:12:04 -0700
commitd80088f6f6b2d976fc683fcc6db52d2d5ba2f092 (patch)
tree34bae3533fd5360cdc27e13a134c8312cc3697d3
parent1b3fee05e6db1fa80cd1a76395fa9e558e1e53c4 (diff)
downloadvolse-hubzilla-d80088f6f6b2d976fc683fcc6db52d2d5ba2f092.tar.gz
volse-hubzilla-d80088f6f6b2d976fc683fcc6db52d2d5ba2f092.tar.bz2
volse-hubzilla-d80088f6f6b2d976fc683fcc6db52d2d5ba2f092.zip
make embeds bookmarkable
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index ea91ec22b..0628afaa9 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -154,7 +154,7 @@ function oembed_format_object($j){
// add link to source if not present in "rich" type
if ( $j->type!='rich' || !strpos($j->html,$embedurl) ){
$embedlink = (isset($j->title))?$j->title:$embedurl;
- $ret .= "<a href='$embedurl' rel='oembed'>$embedlink</a>";
+ $ret .= '<span class="bookmark-identifier">#^</span>' . "<a href='$embedurl' rel='oembed'>$embedlink</a>";
$ret .= "<br>";
if (isset($j->author_name)) $ret.=" by ".$j->author_name;
if (isset($j->provider_name)) $ret.=" on ".$j->provider_name;