Changeset 2425


Ignore:
Timestamp:
Oct 29, 2011, 6:16:10 PM (9 years ago)
Author:
teymour
Message:

Meilleur gestion des disdascalies

File:
1 edited

Legend:

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

    r2400 r2425  
    3232$doc =~ s/<!--[^>]*-->//g;
    3333$doc =~ s/> +</></g;
     34
     35$doc =~ s/<\/i> *<i>/ /gi;
     36$doc =~ s/(info_entre_parentheses">[^<]*)<\/span> *<i>([^<]*)<\/i>/$1 $2<\/span>/gi;
    3437
    3538#$doc =~ s/<\/?(i|cri|div)[^>]*>//ig;
     
    110113    $_ = decode_entities($_);
    111114    if (/<\/span><span([^>]*>)/ && $1 !~ /orateur_qualite/) {
    112         s/<\/span><span[^>]*>//g;
     115        s/<\/span><span[^>]*>/ /g;
    113116    }
    114117        if (/name="([^"]+)"/) {
Note: See TracChangeset for help on using the changeset viewer.