[Ur] [PATCH] Allow alt attribute on img

Karn Kallio tierpluspluslists at gmail.com
Mon Jan 24 16:02:30 EST 2011


Rationale:

The possibility of an Ur/Web application generating invalid XHTML ( such as 
empty lists ) has come up on this list before ... in cases such as list 
nesting the programmer can produce code that does not do that.  But the image 
element requires an alt attribute and currently Ur/Web does not allow one.  
The programmer cannot both use images and avoid invalid XHTML.

Adding an optional alt attribute allows the programmer the choice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alt-on-image.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://www.impredicative.com/pipermail/ur/attachments/20110124/b27692af/attachment.bin>


More information about the Ur mailing list