Changeset 103791 in spip-zone


Ignore:
Timestamp:
Apr 6, 2017, 6:39:09 PM (2 years ago)
Author:
p@…
Message:

Bugfix du filtre responsive_embed

Lorsqu'on a plusieurs iFrame, on les traitent séparément

Location:
_plugins_/foundation_6/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/foundation_6_fonctions.php

    r102933 r103791  
    2626        include_spip('inc/foundation');
    2727        // On détecte toute les iFrames et on les rends responsives.
    28         return preg_replace_callback('%<iframe(.+)></iframe>%s', 'responsive', $texte);
     28        return preg_replace_callback('%<iframe(.*)></iframe>%m', 'responsive', $texte);
    2929}
    3030
  • _plugins_/foundation_6/trunk/paquet.xml

    r103720 r103791  
    22        prefix="foundation_6"
    33        categorie="outil"
    4         version="6.3.7"
     4        version="6.3.8"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.