Changeset 2475


Ignore:
Timestamp:
Nov 5, 2011, 10:03:20 PM (9 years ago)
Author:
komodo
Message:

refix didascalies cassées, et c reparti pour 20h de load

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/batch/hemicycle/parse_hemicycle.pl

    r2471 r2475  
    215215        if (!(/"titre_S([123][^"]*)"/ || /"mention_(article)"/)) {
    216216            s/<\/?(sup|br?|strong)\/?>//gi;
    217             while (s/([^>]*)<(i|span class="info_entre_parentheses")>\(([^\)]*)\)?<\/(i|span)>([\.\s\)]*)//) {
     217            s/(<(i|span class="info_entre_parentheses")>\()/§$1/g;
     218            while (s/([^§]*)§<(i|span class="info_entre_parentheses")>\(([^\)]*)\)?<\/(i|span)>([\.\s\)]*)//) {
    218219                $i = $1;
    219220                $didasc = $3;
Note: See TracChangeset for help on using the changeset viewer.