Changeset 79086 in spip-zone


Ignore:
Timestamp:
Dec 3, 2013, 12:01:09 AM (6 years ago)
Author:
fil@…
Message:

et le titre en title=

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugins_seenthis/autoembed/autoembed.php

    r79085 r79086  
    7979                        $json = json_decode($json);
    8080                        $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("'", "&#39;", $json->{'presentation'}->{'title'})."' /></a></div>";
    8282                }
    8383                else if (preg_match("/^http\:\/\/(www\.)?slideshare\.net/i", $url)) {
Note: See TracChangeset for help on using the changeset viewer.