Date: Wed, 1 May 2013 12:07:59 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r41531 - head/en_US.ISO8859-1/htdocs/cgi Message-ID: <201305011207.r41C7xep023348@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305011207.r41C7xep023348>