Make the SupportedDivecomputers.html match web site

I had forgotten that I used <dl> and not <ul> for the dive computers on
the web site.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-12-15 08:16:06 -08:00
parent a9b7b411dc
commit be7978679a
2 changed files with 46 additions and 46 deletions

View file

@ -15,9 +15,9 @@ while (<$fh>) {
printf(", %s", $mod);
} else {
if ($lastVend eq "") {
printf("<ul><li>%s\n\t<ul>\n\t <li>%s", $vend, $mod);
printf("<dl><dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
} else {
printf("</li>\n\t</ul>\n </li>\n <li>%s\n\t<ul>\n\t <li>%s", $vend, $mod);
printf("</li>\n\t</ul>\n </dd>\n <dt>%s</dt><dd>\n\t<ul>\n\t <li>%s", $vend, $mod);
}
}
} else {
@ -34,6 +34,6 @@ while (<$fh>) {
$lastVend = $vend;
}
if ($type eq "html") {
print("</li>\n\t</ul>\n </li>\n<ul>");
print("</li>\n\t</ul>\n </dd>\n</dl>");
}
close $fh;