view tests/link.ur @ 1642:c3627f317bfd

Refactor HTML contexts to prevent some illegal nestings (that can crash the JavaScript runtime system)
author Adam Chlipala <adam@chlipala.net>
date Tue, 20 Dec 2011 21:06:25 -0500
parents 6fd102fa28f9
children
line wrap: on
line source
fun ancillary () = return <xml>
        Welcome to the ancillary page!
</xml>

fun main () : transaction page = return <xml><body>
        <a link={ancillary ()}>Enter the unknown!</a>
</body></xml>