aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-07-20 04:49:47 -0700
committerSimon Jakobi <simon.jakobi@gmail.com>2018-07-20 13:55:36 +0200
commit051427bce8e0e42610b6a6332e121aebf7bf244b (patch)
treea4281ecc8e8412ce706ed1ce9e7c5eb26579fced /html-test/src
parentf3e76a50eec28d17ddd0fe8e965c15c19c4ef3cf (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. :) (cherry picked from commit 5ec7715d418bfac0f26aec6039792a99a6e89370)
Diffstat (limited to 'html-test/src')
-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 'ü'
+--
+ü :: ()
+ü = ()