svn commit: r45243 - head/en_US.ISO8859-1/htdocs/ports

Gavin Atkinson gavin at FreeBSD.org
Wed Jul 9 16:19:42 UTC 2014


Author: gavin
Date: Wed Jul  9 16:19:41 2014
New Revision: 45243
URL: http://svnweb.freebsd.org/changeset/doc/45243

Log:
  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.

Modified:
  head/en_US.ISO8859-1/htdocs/ports/portindex

Modified: head/en_US.ISO8859-1/htdocs/ports/portindex
==============================================================================
--- head/en_US.ISO8859-1/htdocs/ports/portindex	Wed Jul  9 16:17:27 2014	(r45242)
+++ head/en_US.ISO8859-1/htdocs/ports/portindex	Wed Jul  9 16:19:41 2014	(r45243)
@@ -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";
     }


More information about the svn-doc-all mailing list