Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11069, comment 9


Ignore:
Timestamp:
Aug 18, 2013, 10:40:18 AM (10 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11069, comment 9

    initial v1  
    1 [browser:/branches/1.0-stable/trac/ticket/templates/admin_milestones.html@11924:28,33,41,47,68,74#L22 admin_milestone.html] specifies `readonly = True` and `disabled = True` in the template when the user doesn't have `TICKET_MODIFY`. When rendered in the browser (Trac 1.0-stable and Genshi 0.6.1), I see `readonly = "True"` and `disabled = "disabled"`. These have been changed in the template to `readonly = 'readonly'` and `disabled = 'disabled'` for explicit XHTML compliance ([http://www.w3schools.com/tags/att_input_readonly.asp readonly] and [http://www.w3schools.com/tags/att_input_disabled.asp disabled]). Maybe this is a Genshi defect? Genshi should be XHTML compliant?
     1[browser:/branches/1.0-stable/trac/ticket/templates/admin_milestones.html@11924:28,33,41,47,68,74#L22 admin_milestone.html] specifies `readonly = True` and `disabled = True` in the template when the user doesn't have `MILESTONE_MODIFY`. When rendered in the browser (Trac 1.0-stable and Genshi 0.6.1), I see `readonly = "True"` and `disabled = "disabled"`. I've modified the template so that `readonly = 'readonly'` and `disabled = 'disabled'` for explicit XHTML compliance ([http://www.w3schools.com/tags/att_input_readonly.asp readonly] and [http://www.w3schools.com/tags/att_input_disabled.asp disabled]). Maybe this is a Genshi defect? Genshi should be XHTML compliant?
    22
    33