git.iko.soy/typeable/pandoc
on master help sign in
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

commit4e149f898a3fff677e042f670f04a7d42c78edd3 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 19 Aug 2007, 00:06 (19 years ago) parent4399db4
1 file changed+2−1
src/Text/Pandoc/Readers/HTML.hs+2−1
src/Text/Pandoc/Readers/HTML.hs+2−1
@@ -395,7 +395,8 @@ definitionListItem = try $ do
395395-- paragraph block
396396--
397397
398−para = htmlTag "p" >> inlinesTilEnd "p" >>= return . Para . normalizeSpaces
398+para = try $ htmlTag "p" >> inlinesTilEnd "p" >>=
399+ return . Para . normalizeSpaces
399400
400401--
401402-- plain block