Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unneeded clause for "title" in docbook reader.

  • Loading branch information...
commit d556840fc87d9c88da5c011492b0005a536c453c 1 parent c747665
@jgm authored
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')
Please sign in to comment.
Something went wrong with that request. Please try again.