annotate tests/cdataF.ur @ 2162:c39c48696393

Allow returnBlob and redirect in static protocol Both of these functions end up returning RETURN_INDIRECTLY, which is assumed to be an error by static.c's main. Treat it as success instead.
author Julian Squires <julian@cipht.net>
date Mon, 13 Jul 2015 14:34:30 -0400
parents 71bafe66dbe1
children
rev   line source
adamc@135 1 val snippet = fn s => <body>
adamc@135 2 <h1>{cdata s}</h1>
adamc@135 3 </body>
adamc@135 4
adamc@135 5 val main = fn () => <html><body>
adamc@135 6 {snippet "<Hi."}
adamc@135 7 {snippet "Bye."}
adamc@135 8 </body></html>