JATS reader: fix typo ("lable" instead of "label")

This commit is contained in:
Alexander Krotov 2018-07-02 18:31:46 +03:00
parent f6dfb632ff
commit 5479ea300a

View file

@ -191,7 +191,7 @@ parseBlock (Elem e) =
listType -> do
let start = fromMaybe 1 $
(strContent <$> (filterElement (named "list-item") e
>>= filterElement (named "lable")))
>>= filterElement (named "label")))
>>= safeRead
orderedListWith (start, parseListStyleType listType, DefaultDelim)
<$> listitems