Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Huge set of modifications to restore more uniform APIs when dealing with src and...
[simgrid.git] / tools / doxygen / bibtex2html_postprocessor.pl
index 07f96f6..fded838 100755 (executable)
@@ -6,6 +6,7 @@ while($line = <STDIN>) {
     chomp $line;
     if($line =~ /table width/) {
        $line = <STDIN>;
+       chomp $line;
        if($line =~ /height="50"/) {
            ## Skip preembule
            $write=1;
@@ -25,11 +26,13 @@ while($line = <STDIN>) {
            do {
                $line = <STDIN>;
                chomp $line;
-           } while (($line =~ /</));
+           } while (!($line =~ /table/));
            print "<h1>$title</h1>\n";
            next;
        }
     }
+    $line =~ s/<ol>/<ul>/g;
+    $line =~ s/<\/ol>/<\/ul>/g;
 
     if($line =~ /Disclaimer:/ || $line =~ /body>/) {
        $write=0;