annotate tests/activeEmpty.ur @ 2002:9356e8f91ea4

Change <active> to avoid generating an empty <span> for empty content
author Adam Chlipala <adam@chlipala.net>
date Mon, 21 Apr 2014 12:09:58 -0400
parents
children
rev   line source
adam@2002 1 fun main () : transaction page = return <xml><body>
adam@2002 2 <active code={alert "Howdy, neighbor!"; return <xml/>}/>
adam@2002 3 <hr/>
adam@2002 4 <active code={return <xml>This one <b>ain't</b> empty.</xml>}/>
adam@2002 5 </body></xml>