summaryrefslogtreecommitdiffstats
path: root/docs/lib/Pod/Simple
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-11-26 01:55:59 +0100
committermkanat%bugzilla.org <>2008-11-26 01:55:59 +0100
commit159617d3c0210b338feee49a840e1ab4e87f7e57 (patch)
tree0da92d87fffd931f214f90175b673dfbb99ffbda /docs/lib/Pod/Simple
parent5bf043eea026fbc8f0834736f213d946599991ed (diff)
downloadbugzilla-159617d3c0210b338feee49a840e1ab4e87f7e57.tar.gz
bugzilla-159617d3c0210b338feee49a840e1ab4e87f7e57.tar.xz
Bug 466398: <select> is not escaped in the API documentation
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'docs/lib/Pod/Simple')
-rw-r--r--docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
index c0a70fa57..ab298a05b 100644
--- a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
+++ b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
@@ -71,6 +71,7 @@ sub _write_contents_middle {
my $path = join( "/", '.', esc(@{$e->[3]}) )
. $Pod::Simple::HTML::HTML_EXTENSION;
my $description = $self->{bugzilla_desc}->{$name} || '';
+ $description = esc($description);
my $html = <<END_HTML;
<tr class="$even_or_odd">
<th><a href="$path">$name</a></th>