view tests/cdataL.ur @ 1404:82b204f20026

Patch from Vladimir Shabanov to support implicit passing of 'time' values from server to client
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Jan 2011 10:40:40 -0500
parents 71bafe66dbe1
children
line wrap: on
line source
val subpage = fn s => <html><body>
        <h1>{cdata s}</h1>
</body></html>

val main = fn () => <html><body>
        <li> <a link={subpage "<Hi."}>Door #1</a></li>
        <li> <a link={subpage "Bye."}>Door #2</a></li>
</body></html>