Rudimentary support for programlisting in docbook reader.
This commit is contained in:
parent
7c3e2670a8
commit
c747665ad7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue