Skip to content
Browse files

Removed unneeded clause for "title" in docbook reader.

  • Loading branch information...
1 parent c747665 commit d556840fc87d9c88da5c011492b0005a536c453c John MacFarlane committed Apr 14, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/Text/Pandoc/Readers/DocBook.hs
View
1 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')

0 comments on commit d556840

Please sign in to comment.
Something went wrong with that request. Please try again.