Opened 19 years ago
Closed 18 years ago
#2683 closed defect (fixed)
HTML for Report 6 (All Tickets By Milestone (Including Closed)) (and probably others) is excessively wasteful
Reported by: | anonymous | Owned by: | daniel |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | report system | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Here is an example of the generated page:
<td class="ticket"><a title="View ticket" href="/trac/ticket/1422">#1422</a></td> <td class="summary"><a title="View ticket" href="/trac/ticket/1422">TypeError in trial</a></td> <td class="component"></td>
A page with 1420 tickets came out to 2 megabytes. When replacing every occurance of " " with "" in the generated HTML, the page came to only 1 megabyte.
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
no, it is not the same issue.
i think this ticket can be solved by removing the indenting from the templates/*.cs files.
what i was refering to is how the browser renders links in the 'Description' field in a report. … see my new note with #3131
comment:3 by , 18 years ago
Milestone: | → 0.11 |
---|
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The reports rendered by the Genshi template in 0.11 don't have this problem, thanks to the whitespace stripping done while rendering to xhtml (see genshi:source:/trunk/genshi/output.py).
#3131 was marked as duplicate of this ticket. It dug into the problem more and suggested a fix.