view tests/crypt.ur @ 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 a5bfed32d4f7
children
line wrap: on
line source
fun cryptIt r = return <xml><body>
  {[crypt r.Pass "AB"]}
</body></xml>

fun main () = return <xml><body>
  <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
</body></xml>