Mercurial > urweb
view tests/cdataF.ur @ 2038:ec2c7a22df0d
Fix off-by-one error in less-safe FFI wrapper generation
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 13 Jul 2014 06:14:23 -0400 |
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>