summaryrefslogtreecommitdiff
path: root/lib/ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-01-25 06:59:29 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-01-25 06:59:29 -0500
commit9028536a2743ac820e4c3a7c04d0a4f1d336eeb8 (patch)
tree483e0aa3d1d55c95cca1e0806fb6ce451842695f /lib/ur
parent997ba73ed8bc1b1d1e181570f6211ea6d0f68335 (diff)
Allow 'alt' attribute of <img> (suggested by Karn Kallio)
Diffstat (limited to 'lib/ur')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index fe3f0635..da703d40 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -704,7 +704,7 @@ val hr : bodyTag boxAttrs
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)