Changeset 7595


Ignore:
Timestamp:
2004-06-16T10:43:16+12:00 (20 years ago)
Author:
mdewsnip
Message:

Seem to have fixed the problem with anchors being added to images (for the Collage classifier) that are in <a href="..."></a> tags. The HTML generated doesn't look any better, but for some reason putting the anchor *after* the <img> tag works.

File:
1 edited

Legend:

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

    r7235 r7595  
    354354    $anchor_name = "<a name=\"$anchor_name\">";
    355355
    356     return $anchor_name . $front . $img_file . $back;
     356    return $front . $img_file . $back . $anchor_name;
    357357}
    358358
Note: See TracChangeset for help on using the changeset viewer.