view tests/cdataF.ur @ 787:c9c76aeaae64

on* handlers
author Adam Chlipala <adamc@hcoop.net>
date Tue, 05 May 2009 14:15:55 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
val snippet = fn s => <body>
        <h1>{cdata s}</h1>
</body>

val main = fn () => <html><body>
        {snippet "<Hi."}
        {snippet "Bye."}
</body></html>