diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-12-15 08:16:06 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-15 08:16:06 -0800 |
commit | be7978679ab8986cbbc214456b7ac8805fcd8b26 (patch) | |
tree | b25593e4d27d7ef119fdcb4ab667169e9919b0d7 /scripts/parse-descriptor.pl | |
parent | a9b7b411dc560ec0b697074db5b9ad1a68e8a20e (diff) | |
download | subsurface-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.pl | 6 |
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; |