mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
a9b7b411dc
commit
be7978679a
2 changed files with 46 additions and 46 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue