aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-04-14 21:33:23 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-04-14 21:33:23 -0700
commitd556840fc87d9c88da5c011492b0005a536c453c (patch)
tree1bb32bd7b1190c670725e83d46cb79c24f204a61
parentc747665ad75e073bbfa55e4d29d0eaea6eb9db17 (diff)
downloadpandoc-d556840fc87d9c88da5c011492b0005a536c453c.tar.gz
Removed unneeded clause for "title" in docbook reader.
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs1
1 files changed, 0 insertions, 1 deletions
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')