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)
This commit is contained in:
Gavin Atkinson 2012-06-12 21:21:37 +00:00
parent 599a644b48
commit 1297aa5819
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39037

View file

@ -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;
}