[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#462322: debbugs: pkgreport.cgi generates broken HTML



Package: debbugs

debbugs on bugs.debian.org generates broken HTML from pkgreport.cgi.
I observed three problems in the generated output.  I'll use
<http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=debbugs;dist=unstable>
as an example.

First, in the summary at the beginning, listing the number of bugs
outstanding, pending, resolved, and so on, opens tags in a different
order than it closes them:

<ul>
<div class="msgreceived">
<li><a href="#_0_4_4">Outstanding bugs -- Normal bugs; Unclassified</a> (5 bugs)</li>
<li><a href="#_0_5_2">Outstanding bugs -- Minor bugs; Patch Available</a> (2 bugs)</li>
[...]
</ul></div>

div cannot appear directly inside ul, so the opening div tag should
move before the opening ul tag.

Second, in the summary at the end, tags appear properly nested, but
the div again appears inside the ul; the div needs to move outside the
ul.

Third, an unmatched "</td></tr>" appears in the options form at the
end of the page, right before the "Merged bugs should be" line.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: