diff options
Diffstat (limited to 'tests/cdataL.ur')
-rw-r--r-- | tests/cdataL.ur | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/cdataL.ur b/tests/cdataL.ur new file mode 100644 index 00000000..3aa3bef6 --- /dev/null +++ b/tests/cdataL.ur @@ -0,0 +1,8 @@ +val subpage = fn s => <html><body> + <h1>{cdata s}</h1> +</body></html> + +val main = fn () => <html><body> + <li> <a link={subpage "<Hi."}>Door #1</a></li> + <li> <a link={subpage "Bye."}>Door #2</a></li> +</body></html> |