Opened 12 years ago

Closed 12 years ago

#971 closed defect (duplicate)

Tidying html results in <option selected="true"> in stead of <option selected="selected">

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Plugin_HtmlTidy Version: trunk
Severity: normal Keywords:
Cc:

Description

See subject, the xhtml 1.0 and 1.1 recommendations state:

<!ELEMENT option (#PCDATA)> <!-- selectable choice -->
<!ATTLIST option

%attrs;
selected (selected) #IMPLIED
disabled (disabled) #IMPLIED
label %Text; #IMPLIED
value CDATA #IMPLIED

Change History (1)

comment:1 Changed 12 years ago by ray

  • Resolution set to duplicate
  • Status changed from new to closed

as I really don't think Tidy will be to blame here I mark this duplicate to #955

Note: See TracTickets for help on using tickets.