Changeset 62621 in spip-zone


Ignore:
Timestamp:
Jun 17, 2012, 3:28:40 PM (7 years ago)
Author:
eric@…
Message:

Report de 62619 : une regexp plus précise pour exclure la balise <archives>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/svp/inc/svp_phraser.php

    r62466 r62621  
    2424define('_SVP_REGEXP_BALISE_DEPOT', '#<depot[^>]*>(.*)</depot>#Uims');
    2525define('_SVP_REGEXP_BALISE_ARCHIVES', '#<archives[^>]*>(.*)</archives>#Uims');
    26 define('_SVP_REGEXP_BALISE_ARCHIVE', '#<archive[^>]*>(.*)</archive>#Uims');
     26define('_SVP_REGEXP_BALISE_ARCHIVE', '#<archive[^s][^>]*>(.*)</archive>#Uims');
    2727define('_SVP_REGEXP_BALISE_ZIP', '#<zip[^>]*>(.*)</zip>#Uims');
    2828define('_SVP_REGEXP_BALISE_TRADUCTIONS', '#<traductions[^>]*>(.*)</traductions>#Uims');
Note: See TracChangeset for help on using the changeset viewer.