view tests/nestedInput.ur @ 2111:809bceab15a3

Don't allow singleton <button> tags
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Feb 2015 15:50:54 -0500
parents 9a1547596712
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun handler _ = return <xml/>
    in
        return <xml><body>
          <form>
            <submit action={handler}>Uh oh!</submit>
          </form>
        </body></xml>
    end