aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-07-07 19:46:17 -0700
committerAlec Theriault <alec.theriault@gmail.com>2018-11-06 12:03:24 -0800
commit59be4f386c3803aeab7a9b2bc9bca49f1fe113db (patch)
tree1782131eb9d6654a7d0bfa38263528ec09d3c3f4 /html-test/src
parent566536d6a1db7959197bed086c07cd23457ca378 (diff)
Support (and flatten) inline markup in image links
Inline markup is supported in image links but, as per the [commonmark recommendation][0], it is stripped back to a plain text representation. [0]: https://spec.commonmark.org/0.28/#example-547
Diffstat (limited to 'html-test/src')
-rw-r--r--html-test/src/Bug865.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/html-test/src/Bug865.hs b/html-test/src/Bug865.hs
new file mode 100644
index 00000000..71a6add1
--- /dev/null
+++ b/html-test/src/Bug865.hs
@@ -0,0 +1,9 @@
+module Bug865 where
+
+-- | An emphasized link [yes /this/ is emphasized while this is
+-- @monospaced@](https://www.haskell.org/). And here is an image:
+--
+-- ![/emphasis/ stripped](https://www.haskell.org/static/img/haskell-logo.svg)
+--
+link :: ()
+link = ()