aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Unicode2.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-07-20 04:49:47 -0700
committerAlexander Biehl <alexbiehl@gmail.com>2018-07-20 13:49:47 +0200
commit5ec7715d418bfac0f26aec6039792a99a6e89370 (patch)
treeb329dfe0629d40b100cac782479ee8d881d66715 /html-test/src/Unicode2.hs
parent2de7c2acf9b1ec85b09027a8bb58bf8512e91c05 (diff)
Add some more unicode related tests (#872)
This has been fixed for sure ever since we switched from attoparsec to parsec. Parts of it may have been working before that, but there was a point where this would have failed (see #191). A regression test never hurt anyone. :)
Diffstat (limited to 'html-test/src/Unicode2.hs')
-rw-r--r--html-test/src/Unicode2.hs18
1 files changed, 18 insertions, 0 deletions
diff --git a/html-test/src/Unicode2.hs b/html-test/src/Unicode2.hs
new file mode 100644
index 00000000..ca6b18ba
--- /dev/null
+++ b/html-test/src/Unicode2.hs
@@ -0,0 +1,18 @@
+module Unicode2 where
+
+-- | All of the following work with a unicode character ü:
+--
+-- * an italicized /ü/
+--
+-- * inline code @ü@
+--
+-- * a code block:
+--
+-- > ü
+--
+-- * a url <https://www.google.com/search?q=ü>
+--
+-- * a link to 'ü'
+--
+ü :: ()
+ü = ()