Ticket #109 (closed defect: invalid)
"selected" attribute for <option> tag is broken in r502
| Reported by: | pkou@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Template processing | Version: | devel |
| Keywords: | Cc: |
Description
When HTML is created using genshi.builder.tag, then the attribute selected="selected" is not set properly for tags `<select><option selected="?" /></select>
The builder adds the attribute selected="selected" for all options regardless if they have been set as selected or not in original source code.
Source of the problem: http://groups.google.com/group/trac-dev/browse_thread/thread/b364abaf4bfa4159
Source code that shows the problem: http://trac.edgewall.org/browser/sandbox/pycon/workflow/trac/ticket/api.py#L201
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
