Changeset 79086 in spip-zone
- Timestamp:
- Dec 3, 2013, 12:01:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/plugins_seenthis/autoembed/autoembed.php
r79085 r79086 79 79 $json = json_decode($json); 80 80 $img = $json->{'embed_preview'}; 81 if ($img) $code_ae = "<div class='oembed-container oembed-img'><a href='$url'><img src='$img' /></a><div>".$json->{'presentation'}->{'title'}."</div></div>";81 if ($img) $code_ae = "<div class='oembed-container oembed-img'><a href='$url'><img src='$img' title='".str_replace("'", "'", $json->{'presentation'}->{'title'})."' /></a></div>"; 82 82 } 83 83 else if (preg_match("/^http\:\/\/(www\.)?slideshare\.net/i", $url)) {
Note: See TracChangeset
for help on using the changeset viewer.