Mercurial > urweb
view 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 |
line wrap: on
line source
fun main () : transaction page = return <html><body> 6 = {cdata (show _ 6)}<br/> 12.34 = {cdata (show _ 12.34)}<br/> Hi = {cdata (show _ "Hi")}<br/> False = {cdata (show _ False)}<br/> </body></html>