Changeset 339


Ignore:
Timestamp:
1999-07-02T14:09:06+12:00 (25 years ago)
Author:
sjboddie
Message:

Fixed a bug that I created last time

File:
1 edited

Legend:

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

    r321 r339  
    187187    my $firstsection = 1;
    188188    while (length ($html) > 0) {
    189     if ($html =~ s/^.*?(?:<p\b[^>]*>)?((<b>|<i>|<u>|\s)*)&lt;&lt;TOC(\d+)&gt;&gt;\s*(.*?)(<p\b|.)?/$5/i) {
     189    if ($html =~ s/^.*?(?:<p\b[^>]*>)?((<b>|<i>|<u>|\s)*)&lt;&lt;TOC(\d+)&gt;&gt;\s*(.*?)<p\b/<p/i) {
    190190        my $toclevel = $3;
    191191        my $title = $4;
Note: See TracChangeset for help on using the changeset viewer.