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