svn commit: r39037 - head/en_US.ISO8859-1/htdocs/multimedia
Gavin Atkinson
gavin at FreeBSD.org
Tue Jun 12 21:21:38 UTC 2012
Author: gavin
Date: Tue Jun 12 21:21:37 2012
New Revision: 39037
URL: http://svn.freebsd.org/changeset/doc/39037
Log:
Fix the script that generates the multimedia files on the website when
parsing "overview" URLs consisting of multiple parts - for example a URL
containing an "&". Due to what appears to have been a copy/paste
error, these URLs would be broken in the rendered output.
This is the root cause of the invalid rendering of the link in the third
URL added in r38972, that commit itself was correct.
Approved by: bcr (mentor)
Modified:
head/en_US.ISO8859-1/htdocs/multimedia/multimedia.pl
Modified: head/en_US.ISO8859-1/htdocs/multimedia/multimedia.pl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/multimedia/multimedia.pl Tue Jun 12 21:21:09 2012 (r39036)
+++ head/en_US.ISO8859-1/htdocs/multimedia/multimedia.pl Tue Jun 12 21:21:37 2012 (r39037)
@@ -132,7 +132,7 @@ sub xml_char {
return;
}
if ($tree[3] eq "overview") {
- $items[$ci]{overview} = "" if (!defined $items[$ci]{desc});
+ $items[$ci]{overview} = "" if (!defined $items[$ci]{overview});
$items[$ci]{overview} .= $value;
return;
}
More information about the svn-doc-head
mailing list