view tests/cdataF.ur @ 385:1195f6e4d208

Support for URL prefixes that works with local demo
author Adam Chlipala <adamc@hcoop.net>
date Sun, 19 Oct 2008 15:47:47 -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>