Rudimentary support for programlisting in docbook reader.

This commit is contained in:
John MacFarlane 2012-04-14 18:35:43 -07:00
parent 7c3e2670a8
commit c747665ad7

View file

@ -46,6 +46,7 @@ parseBlock (Elem e) =
"section" -> gets dbSectionLevel >>= sect . (+1)
"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