aboutsummaryrefslogtreecommitdiff
path: root/latex-test/ref/Deprecated/Deprecated.tex
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/ref/Deprecated/Deprecated.tex
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/ref/Deprecated/Deprecated.tex')
-rw-r--r--latex-test/ref/Deprecated/Deprecated.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/latex-test/ref/Deprecated/Deprecated.tex b/latex-test/ref/Deprecated/Deprecated.tex
new file mode 100644
index 00000000..fa8fc20a
--- /dev/null
+++ b/latex-test/ref/Deprecated/Deprecated.tex
@@ -0,0 +1,17 @@
+\haddockmoduleheading{Deprecated}
+\label{module:Deprecated}
+\haddockbeginheader
+{\haddockverb\begin{verbatim}
+module Deprecated (
+ deprecated
+ ) where\end{verbatim}}
+\haddockendheader
+
+\begin{haddockdesc}
+\item[\begin{tabular}{@{}l}
+deprecated\ ::\ Int
+\end{tabular}]\haddockbegindoc
+Deprecated: Don't use this\par
+Docs for something deprecated\par
+
+\end{haddockdesc} \ No newline at end of file