From owner-svn-doc-head@FreeBSD.ORG Tue Jun 12 21:21:38 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83D93106566B; Tue, 12 Jun 2012 21:21:38 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF008FC14; Tue, 12 Jun 2012 21:21:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q5CLLcdc076431; Tue, 12 Jun 2012 21:21:38 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q5CLLcY8076429; Tue, 12 Jun 2012 21:21:38 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201206122121.q5CLLcY8076429@svn.freebsd.org> From: Gavin Atkinson Date: Tue, 12 Jun 2012 21:21:38 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r39037 - head/en_US.ISO8859-1/htdocs/multimedia X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 21:21:38 -0000 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; }