Date: Tue, 12 Jun 2012 21:21:38 +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: r39037 - head/en_US.ISO8859-1/htdocs/multimedia Message-ID: <201206122121.q5CLLcY8076429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206122121.q5CLLcY8076429>