summaryrefslogtreecommitdiff
path: root/tests/cdataF.ur
blob: 3f8da45b5486e5bf7ea7c883ecd40f7b9677e635 (plain)
1
2
3
4
5
6
7
8
val snippet = fn s => <body>
        <h1>{cdata s}</h1>
</body>

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