From 4e149f898a3fff677e042f670f04a7d42c78edd3 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 19 Aug 2007 00:06:03 +0000 Subject: Added a necessary "try" in definition of "para" (HTML reader). git-svn-id: https://pandoc.googlecode.com/svn/trunk@863 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/HTML.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index ac3947ad1..caf2b7f5f 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -395,7 +395,8 @@ definitionListItem = try $ do -- paragraph block -- -para = htmlTag "p" >> inlinesTilEnd "p" >>= return . Para . normalizeSpaces +para = try $ htmlTag "p" >> inlinesTilEnd "p" >>= + return . Para . normalizeSpaces -- -- plain block -- cgit v1.2.3