summaryrefslogtreecommitdiffstats
path: root/scripts/parse-descriptor.pl
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-15 08:16:06 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-15 08:16:06 -0800
commitbe7978679ab8986cbbc214456b7ac8805fcd8b26 (patch)
treeb25593e4d27d7ef119fdcb4ab667169e9919b0d7 /scripts/parse-descriptor.pl
parenta9b7b411dc560ec0b697074db5b9ad1a68e8a20e (diff)
downloadsubsurface-be7978679ab8986cbbc214456b7ac8805fcd8b26.tar.gz
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>
Diffstat (limited to 'scripts/parse-descriptor.pl')
-rw-r--r--scripts/parse-descriptor.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/parse-descriptor.pl b/scripts/parse-descriptor.pl
index 604bfe568..e29658bee 100644
--- a/scripts/parse-descriptor.pl
+++ b/scripts/parse-descriptor.pl
@@ -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;