view tests/cdataF.ur @ 2245:27899da8780b

Sqlcache allows any expression injected into SQL.
author Ziv Scully <ziv@mit.edu>
date Sun, 02 Aug 2015 18:25:42 -0700
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>