view 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
line wrap: on
line source
style quote

fun main () = return <xml>
  <head>
    <link rel="stylesheet" type="text/css" href="http://adam.chlipala.net/style.css"/>
  </head>

  <body>
    <div class={quote}>Here's a quote.</div>
  </body>
</xml>