changeset 1419:00b79f39be25

Allow 'alt' attribute of <img> (suggested by Karn Kallio)
author Adam Chlipala <adam@chlipala.net>
date Tue, 25 Jan 2011 06:59:29 -0500
parents 22674ac8ebe6
children 146b69c53304
files lib/ur/basis.urs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ur/basis.urs	Sun Jan 23 18:16:30 2011 -0500
+++ b/lib/ur/basis.urs	Tue Jan 25 06:59:29 2011 -0500
@@ -704,7 +704,7 @@
 
 val a : bodyTag ([Link = transaction page, Href = url] ++ boxAttrs)
 
-val img : bodyTag ([Src = url, Width = int, Height = int,
+val img : bodyTag ([Alt = string, Src = url, Width = int, Height = int,
                     Onabort = transaction unit, Onerror = transaction unit,
                     Onload = transaction unit] ++ boxAttrs)