[ZPT] <option selected> issue

Dieter Maurer dieter@handshake.de
Sun, 10 Mar 2002 19:11:54 +0100


Chris Withers writes:
 > Just noticed that if I have:
 > 
 > <option tal:attributes="selected some_binary_value"/>
 > 
 > I get:
 > 
 > <option value="Reviewer" selected="selected">
 > 
 > ...which works but is incorrect.
 > 
 > Surely it should be:
 > 
 > <option value="Reviewer" selected>
That's just a shorthand for the above. The above is not incorrect.


Dieter