diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-09-09 13:53:32 -0700 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2019-03-09 11:22:55 -0800 |
commit | 747dfc712bd516b76342f2e17dada7a64d43c778 (patch) | |
tree | 423e96bd0a98e6b8399dfcc274a5b42aabae70a5 /latex-test/src/Deprecated/Deprecated.hs | |
parent | abb448ff120d6f09b6d070806de1d0eb334bc23b (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.hs | 7 |
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" #-} |