@@ -270,7 +270,14 @@ pOrderedList = try $ do
270 "lower-alpha" -> LowerAlpha
270 "lower-alpha" -> LowerAlpha
271 "upper-alpha" -> UpperAlpha
271 "upper-alpha" -> UpperAlpha
272 "decimal" -> Decimal
272 "decimal" -> Decimal
274+ case lookup "type" attribs of
276+ Just "I" -> UpperRoman
277+ Just "i" -> LowerRoman
278+ Just "A" -> UpperAlpha
279+ Just "a" -> LowerAlpha
273− _ -> DefaultStyle
280+ _ -> DefaultStyle
274 let nonItem = pSatisfy (\t ->
281 let nonItem = pSatisfy (\t ->
275 not (tagOpen (`elem` ["li","ol","ul","dl"]) (const True) t) &&
282 not (tagOpen (`elem` ["li","ol","ul","dl"]) (const True) t) &&
276 not (t ~== TagClose "ol"))
283 not (t ~== TagClose "ol"))