Undo rev 1.18 which broke the sort order in master-index

Replace `--' with `-=' inside comments as a workaround so
the SGML compiler will not die.
This commit is contained in:
Wolfram Schneider 1998-09-30 16:10:16 +00:00
parent 711a027ce2
commit 9f0f2fbc7b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3549

View file

@ -162,8 +162,12 @@ sub main {
}
# Add an entry to the master index
# workaround for SGML bug, `--' is not allowed in comments
local ($sname) = $name;
$sname =~ s/--/-=/g;
$master[$portnumber] =
"<STRONG><A HREF=\"$cat[0].html#$name\">$name</A></STRONG> " .
"<!-- $sname --><STRONG><A HREF=\"$cat[0].html#$name\">$name</A></STRONG> " .
" -- <EM>$desc</EM><BR>\n";
$portnumber++;
}