Changeset 108583 in spip-zone


Ignore:
Timestamp:
Jan 22, 2018, 6:40:58 PM (3 years ago)
Author:
arno@…
Message:

Bug: manque un </div> après chaque embed (arg).

File:
1 edited

Legend:

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

    r108574 r108583  
    283283    $source = preg_replace(',^http:,', 'https:', $source);
    284284
    285     return sprintf('<div style="position: relative; width:100%%; height:0; padding-bottom:%s%%"><iframe type="text/html" style="width:100%%;height:100%%;position: absolute;top:0; left:0;" src="%s" frameborder="0" allowFullScreen></iframe>', $prop, $source);
     285    return sprintf('<div style="position: relative; width:100%%; height:0; padding-bottom:%s%%"><iframe type="text/html" style="width:100%%;height:100%%;position: absolute;top:0; left:0;" src="%s" frameborder="0" allowFullScreen></iframe></div>', $prop, $source);
    286286
    287287        //          return sprintf('<iframe type="text/html" width="%s" height="%s" src="%s" frameborder="0" allowFullScreen></iframe>', $width, $height, $source);
Note: See TracChangeset for help on using the changeset viewer.