Ignore:
Timestamp:
1999-06-25T11:34:31+12:00 (25 years ago)
Author:
rjmcnab
Message:

Included seperate method for finding 'paragraphs' so that it could
be overriden for different collections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/mgbuildproc.pm

    r255 r289  
    491491}
    492492
     493sub find_paragraphs {
     494    $_[1] =~ s/(<p\b)/\cC$1/gi;
     495}
     496
    493497sub text {
    494498    my $self = shift (@_);
     
    559563            $new_text = $doc_obj->get_text ($section);
    560564            $new_text =~ s/[\cB\cC]//g;
    561             $new_text =~ s/(<p\b)/\cC$1/gi;
     565            $self->find_paragraphs($new_text);
    562566           
    563567            } else {
Note: See TracChangeset for help on using the changeset viewer.