Changeset 589


Ignore:
Timestamp:
1999-09-15T12:38:46+12:00 (25 years ago)
Author:
sjboddie
Message:

fixed bug in regular expression

File:
1 edited

Legend:

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

    r585 r589  
    125125
    126126    # fix up the image links
    127     $text =~ s/(<img[^>]*?src=\"?)([^\">]+)(\"?[^>]*>)/
     127    $text =~ s/(<img[^>]*?src\s*=\s*\"?)([^\">]+)(\"?[^>]*>)/
    128128    &replace_image_links($absdir, $doc_obj, $1, $2, $3)/ige;
    129129
Note: See TracChangeset for help on using the changeset viewer.