fixed listitem
This commit is contained in:
parent
f63fb16921
commit
8d2baf35f1
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ parseBlock (Elem e) =
|
|||
skipWhite (Text (CData _ s _):xs) | all isSpace s = skipWhite xs
|
||||
| otherwise = xs
|
||||
skipWhite xs = xs
|
||||
listitems = mapM getBlocks $ findChildren (unqual "listitem") e
|
||||
listitems = mapM getBlocks $ filterChildren (\e' -> qName (elName e') == "listitem") e
|
||||
getTitle = case findChild (unqual "title") e of
|
||||
Just t -> do
|
||||
tit <- getInlines t
|
||||
|
|
Loading…
Add table
Reference in a new issue