svn commit: r41531 - head/en_US.ISO8859-1/htdocs/cgi
Gavin Atkinson
gavin at FreeBSD.org
Wed May 1 12:08:00 UTC 2013
Author: gavin
Date: Wed May 1 12:07:59 2013
New Revision: 41531
URL: http://svnweb.freebsd.org/changeset/doc/41531
Log:
Produce valid XML in the case where a simple tag with no text is produced
(most apparent when including URLs without descriptions)
Modified:
head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi
Modified: head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi Wed May 1 11:57:15 2013 (r41530)
+++ head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi Wed May 1 12:07:59 2013 (r41531)
@@ -28,7 +28,7 @@ sub xml
if (!@Text)
{
# No text in the tag
- return ("$Spaces<$TagEtc >\n");
+ return ("$Spaces<$TagEtc />\n");
}
elsif (@Text == 1)
{
More information about the svn-doc-all
mailing list