git.iko.soy/typeable/pandoc
on master help sign in
Removed unneeded clause for "title" in docbook reader.
commitd556840fc87d9c88da5c011492b0005a536c453c authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 14 Apr 2012, 21:33 (15 years ago) parentc747665
1 file changed−1
src/Text/Pandoc/Readers/DocBook.hs−1
src/Text/Pandoc/Readers/DocBook.hs−1
@@ -47,7 +47,6 @@ parseBlock (Elem e) =
4747 "itemizedlist" -> bulletList <$> listitems
4848 "articleinfo" -> getTitle >> getAuthors >> getDate >> return mempty
4949 "programlisting" -> return $ codeBlock $ strContent e
50− "title" -> return mempty -- processed by sect
5150 "?xml" -> return mempty
5251 _ -> getBlocks e
5352 where getBlocks e' = mconcat <$> (mapM parseBlock $ elContent e')