Changeset 1699


Ignore:
Timestamp:
2000-11-25T17:47:42+13:00 (23 years ago)
Author:
say1
Message:

fixed the bug in HTML plug which broke images for Dave

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/HTMLPlug.pm

    r1686 r1699  
    157157
    158158    # trap images
    159     $$textref =~ s/(<img[^>]*? src\s*=\s*\"?)([^\">\s]+)(\"?[^>]*>)/
     159    $$textref =~ s/(<img[^>]*?src\s*=\s*\"?)([^\">\s]+)(\"?[^>]*>)/
    160160    $self->replace_images ($1, $2, $3, $base_dir, $file, $doc_obj, $cursection)/isge;
    161161
     
    170170    my ($front, $link, $back, $base_dir,
    171171    $file, $doc_obj, $section) = @_;
    172    
     172
    173173    $link =~ s/\n/ /g;
    174174   
Note: See TracChangeset for help on using the changeset viewer.