Changeset 12861


Ignore:
Timestamp:
2006-09-27T15:02:28+12:00 (18 years ago)
Author:
mdewsnip
Message:

Now produces anchors without spaces in the names, for HTML compliance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/perllib/plugins/CICPlug.pm

    r12859 r12861  
    12551255    my $id_to_extra_mapping = shift(@_);
    12561256
    1257     print BROWSER_MACROFILE "<tr><td width=\"50%\"><br /><a name=\"$chunk_title\"/><span style=\"color: black;\"><b>$chunk_title</b></span></td><td width=\"50%\"></td></tr>";
     1257    my $chunk_title_sans_spaces = $chunk_title;
     1258    $chunk_title_sans_spaces =~ s/ //g;
     1259    print BROWSER_MACROFILE "<tr><td width=\"50%\"><br /><a name=\"$chunk_title_sans_spaces\"/><span style=\"color: black;\"><b>$chunk_title</b></span></td><td width=\"50%\"></td></tr>";
    12581260
    12591261    my %full_name_to_id_mapping;
Note: See TracChangeset for help on using the changeset viewer.