Changeset 82820 in spip-zone


Ignore:
Timestamp:
Jun 2, 2014, 10:28:52 AM (5 years ago)
Author:
cedric@…
Message:

Complement a r82819 : quand on passe un filtre image sur les puces, la syntaxe de la balise change, ameliorons la regexp

Location:
_plugins_/spipdf/branches/v0.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipdf/branches/v0.2/plugin.xml

    r82819 r82820  
    66        <licence>(c) 2010 GPL</licence>
    77        <lien>http://www.spip-contrib.net/spiPDF-v0-2-0-generer-des-contenus-sur-mesure-en-PDF</lien>
    8         <version>0.2.5</version>
     8        <version>0.2.6</version>
    99        <etat>stable</etat>
    1010        <description>
  • _plugins_/spipdf/branches/v0.2/spipdf_fonctions.php

    r82819 r82820  
    177177
    178178        // float sur les puces graphiques
    179         $patterns_puce = '/<img[^>]*class="puce" alt="-"[^>]*>/iUms';
     179        $patterns_puce = '/<img[^>]*class=[\'"]puce[\'"] alt=[\'"]-[\'"][^>]*>/iUms';
    180180        $html = preg_replace($patterns_puce, '-', $html);
    181181
Note: See TracChangeset for help on using the changeset viewer.