annotate demo/css.ur @ 1642:c3627f317bfd

Refactor HTML contexts to prevent some illegal nestings (that can crash the JavaScript runtime system)
author Adam Chlipala <adam@chlipala.net>
date Tue, 20 Dec 2011 21:06:25 -0500
parents a8bdd5a0d9b0
children
rev   line source
adamc@775 1 style quote
adamc@775 2
adamc@775 3 fun main () = return <xml>
adamc@775 4 <head>
adamc@775 5 <link rel="stylesheet" type="text/css" href="http://adam.chlipala.net/style.css"/>
adamc@775 6 </head>
adamc@775 7
adamc@775 8 <body>
adamc@775 9 <div class={quote}>Here's a quote.</div>
adamc@775 10 </body>
adamc@775 11 </xml>