comparison tests/cdataF.lac @ 135:b1cfe49ce692

Proper escaping of cdata
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 13:33:56 -0400
parents
children
comparison
equal deleted inserted replaced
134:18299126a343 135:b1cfe49ce692
1 val snippet = fn s => <body>
2 <h1>{cdata s}</h1>
3 </body>
4
5 val main = fn () => <html><body>
6 {snippet "<Hi."}
7 {snippet "Bye."}
8 </body></html>