Changeset 3052


Ignore:
Timestamp:
Jan 4, 2013, 4:29:44 AM (8 years ago)
Author:
roux
Message:

clean style tables + handle too long interventions for text field in intervention table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/batch/commission/parse_commission.pl

    r3051 r3052  
    9999    $commission =~ s/"//g;
    100100    $intervention =~ s/"/\\"/g;
     101    $intervention =~ s/\s*(<\/?t[rdh]>)\s*/\1/gi;
    101102    $cpt+=10;
    102103    $ts = $cpt;
     
    248249
    249250$string =~ s/<br>\n//gi;
     251$string =~ s/<t([rdh]) [^>]*>/<t\1>/gi;
    250252
    251253# Le cas de <ul> qui peut faire confondre une nomination à une intervention :
    252254#on vire les paragraphes contenus et on didascalise
    253 
    254 
    255255$string =~ s/<\/?ul>//gi;
    256256
     
    399399        }
    400400        $intervention .= "<p>$line</p>";
     401    if (length($intervention)-32000 > 0) {
     402        $tmpinter = $intervenant;
     403        checkout();
     404    }
    401405    if ($tmpinter) {
    402406        checkout();
Note: See TracChangeset for help on using the changeset viewer.