From 747dfc712bd516b76342f2e17dada7a64d43c778 Mon Sep 17 00:00:00 2001
From: Alec Theriault <alec.theriault@gmail.com>
Date: Sun, 9 Sep 2018 13:53:32 -0700
Subject: 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.
---
 latex-test/ref/Deprecated/main.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 latex-test/ref/Deprecated/main.tex

(limited to 'latex-test/ref/Deprecated/main.tex')

diff --git a/latex-test/ref/Deprecated/main.tex b/latex-test/ref/Deprecated/main.tex
new file mode 100644
index 00000000..76def1cd
--- /dev/null
+++ b/latex-test/ref/Deprecated/main.tex
@@ -0,0 +1,11 @@
+\documentclass{book}
+\usepackage{haddock}
+\begin{document}
+\begin{titlepage}
+\begin{haddocktitle}
+
+\end{haddocktitle}
+\end{titlepage}
+\tableofcontents
+\input{Deprecated}
+\end{document}
\ No newline at end of file
-- 
cgit v1.2.3

