From 75a384ec04baf1219291b23f05904d029dfe9d31 Mon Sep 17 00:00:00 2001 From: Gavin Atkinson <gavin@FreeBSD.org> Date: Wed, 9 Jul 2014 16:19:41 +0000 Subject: [PATCH] When generating categories-alpha.xml, always output an </li> even if we don't have a textual description for a particular port category. This is the real fix for the bug alluded to in r43602. It is not clear to me how more people haven't hit this bug. --- en_US.ISO8859-1/htdocs/ports/portindex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/htdocs/ports/portindex b/en_US.ISO8859-1/htdocs/ports/portindex index a3c30c021e..e143074fca 100755 --- a/en_US.ISO8859-1/htdocs/ports/portindex +++ b/en_US.ISO8859-1/htdocs/ports/portindex @@ -355,8 +355,8 @@ EOF "<li><a href=\"$key.html\">\u$key</a> <em>($stats{$key})</em>"; if ($category_description{$key}{desc}) { print $moutf " -- " . $category_description{$key}{desc}; - print $moutf "</li>\n"; } + print $moutf "</li>\n"; } print $moutf "</ul>\n"; }