diff options
Diffstat (limited to 'tests/cdataL.ur')
-rw-r--r-- | tests/cdataL.ur | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cdataL.ur b/tests/cdataL.ur index 3aa3bef6..42122b20 100644 --- a/tests/cdataL.ur +++ b/tests/cdataL.ur @@ -1,8 +1,8 @@ -val subpage = fn s => <html><body> +val subpage : string -> transaction page = fn s => return <xml><body> <h1>{cdata s}</h1> -</body></html> +</body></xml> -val main = fn () => <html><body> +val main : unit -> transaction page = fn () => return <xml><body> <li> <a link={subpage "<Hi."}>Door #1</a></li> <li> <a link={subpage "Bye."}>Door #2</a></li> -</body></html> +</body></xml> |