view tests/thead.ur @ 2048:4d64af730e35

Differentiate between HTML and normal string literals
author Adam Chlipala <adam@chlipala.net>
date Fri, 01 Aug 2014 15:44:17 -0400
parents d3a0f2b8af28
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
  <table>
    <thead>
      <tr> <th>A</th> <th>B</th> </tr>
    </thead>

    <tbody>
      <tr> <td>1</td> <td>2</td> </tr>
      <tr> <td>3</td> <td>4</td> </tr>
    </tbody>

    <tfoot>
      <tr> <th>C</th> <th>D</th> </tr>
    </tfoot>
  </table>
</body></xml>