annotate tests/cdataF.ur @ 2082:1b76ae703cbb

Some more optimization of string expressions showing up in JSON generation (Meta library)
author Adam Chlipala <adam@chlipala.net>
date Wed, 03 Dec 2014 21:06:15 -0500
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>