aboutsummaryrefslogtreecommitdiff
path: root/latex-test/src/Deprecated/Deprecated.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-09-09 13:53:32 -0700
committerAlec Theriault <alec.theriault@gmail.com>2019-03-09 11:22:55 -0800
commit747dfc712bd516b76342f2e17dada7a64d43c778 (patch)
tree423e96bd0a98e6b8399dfcc274a5b42aabae70a5 /latex-test/src/Deprecated/Deprecated.hs
parentabb448ff120d6f09b6d070806de1d0eb334bc23b (diff)
Avoid multi-line `emph` in LaTeX backend
`markupWarning` often processes inputs which span across paragraphs. Unfortunately, LaTeX's `emph` is not made to handle this (and will crash). Fixes #936.
Diffstat (limited to 'latex-test/src/Deprecated/Deprecated.hs')
-rw-r--r--latex-test/src/Deprecated/Deprecated.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/latex-test/src/Deprecated/Deprecated.hs b/latex-test/src/Deprecated/Deprecated.hs
new file mode 100644
index 00000000..aecec94e
--- /dev/null
+++ b/latex-test/src/Deprecated/Deprecated.hs
@@ -0,0 +1,7 @@
+module Deprecated where
+
+-- | Docs for something deprecated
+deprecated :: Int
+deprecated = 1
+
+{-# DEPRECATED deprecated "Don't use this" #-}