summaryrefslogtreecommitdiff
path: root/src/markdown2pdf.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/markdown2pdf.hs')
-rw-r--r--src/markdown2pdf.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown2pdf.hs b/src/markdown2pdf.hs
index 5b56194cd..815690f49 100644
--- a/src/markdown2pdf.hs
+++ b/src/markdown2pdf.hs
@@ -79,7 +79,7 @@ checkLatex txt = (err , bib, ref, unlines $! msgs ++ tips)
xs `oneOf` x = any (flip isInfixOf x) xs
msgs = filter (oneOf ["Error:", "Warning:"]) (lines txt)
tips = checkPackages msgs
- err = any (oneOf ["LaTeX Error:", "Latex Error:"]) msgs
+ err = any (oneOf ["!", "LaTeX Error:", "Latex Error:"]) msgs
bib = any (oneOf ["Warning: Citation"
,"Warning: There were undefined citations"]) msgs
ref = any (oneOf ["Warning: Reference"