From d556840fc87d9c88da5c011492b0005a536c453c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 14 Apr 2012 21:33:23 -0700 Subject: Removed unneeded clause for "title" in docbook reader. --- src/Text/Pandoc/Readers/DocBook.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index 5cb41638a..882a568f5 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -47,7 +47,6 @@ parseBlock (Elem e) = "itemizedlist" -> bulletList <$> listitems "articleinfo" -> getTitle >> getAuthors >> getDate >> return mempty "programlisting" -> return $ codeBlock $ strContent e - "title" -> return mempty -- processed by sect "?xml" -> return mempty _ -> getBlocks e where getBlocks e' = mconcat <$> (mapM parseBlock $ elContent e') -- cgit v1.2.3