Mercurial > urweb
view demo/css.ur @ 2162:c39c48696393
Allow returnBlob and redirect in static protocol
Both of these functions end up returning RETURN_INDIRECTLY, which is
assumed to be an error by static.c's main. Treat it as success
instead.
author | Julian Squires <julian@cipht.net> |
---|---|
date | Mon, 13 Jul 2015 14:34:30 -0400 |
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>