[ZPT] <option selected> issue

Chris Withers chrisw@nipltd.com
Sat, 09 Mar 2002 22:18:50 +0000


Hi there, 

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>

cheers,

Chris

PS: And how come 'selected' behave magically differently from any other
attribute?