annotate tests/toString.ur @ 1285:514be09d5018

Better UTF-8 escaping for JavaScript and SQL literals
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Aug 2010 15:55:43 -0400
parents df00701f2323
children
rev   line source
adamc@284 1 fun main () : transaction page = return <html><body>
adamc@290 2 6 = {cdata (show _ 6)}<br/>
adamc@290 3 12.34 = {cdata (show _ 12.34)}<br/>
adamc@290 4 Hi = {cdata (show _ "Hi")}<br/>
adamc@290 5 False = {cdata (show _ False)}<br/>
adamc@284 6 </body></html>