diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-04-14 21:33:23 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-04-14 21:33:23 -0700 |
commit | d556840fc87d9c88da5c011492b0005a536c453c (patch) | |
tree | 1bb32bd7b1190c670725e83d46cb79c24f204a61 /src/Text | |
parent | c747665ad75e073bbfa55e4d29d0eaea6eb9db17 (diff) | |
download | pandoc-d556840fc87d9c88da5c011492b0005a536c453c.tar.gz |
Removed unneeded clause for "title" in docbook reader.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/DocBook.hs | 1 |
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') |