aboutsummaryrefslogtreecommitdiffstats
path: root/docs/lib/Pod/Simple/HTMLBatch
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-11-26 00:55:59 +0000
committermkanat%bugzilla.org <>2008-11-26 00:55:59 +0000
commit159617d3c0210b338feee49a840e1ab4e87f7e57 (patch)
tree0da92d87fffd931f214f90175b673dfbb99ffbda /docs/lib/Pod/Simple/HTMLBatch
parent5bf043eea026fbc8f0834736f213d946599991ed (diff)
downloadbugs-159617d3c0210b338feee49a840e1ab4e87f7e57.tar
bugs-159617d3c0210b338feee49a840e1ab4e87f7e57.tar.gz
bugs-159617d3c0210b338feee49a840e1ab4e87f7e57.tar.bz2
bugs-159617d3c0210b338feee49a840e1ab4e87f7e57.tar.xz
bugs-159617d3c0210b338feee49a840e1ab4e87f7e57.zip
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/HTMLBatch')
-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>