Fixed list-style-type for numbered example lists.
Should be "decimal," not "example." Closes #1902.
This commit is contained in:
parent
4e03796f14
commit
82c04a28ce
1 changed files with 3 additions and 1 deletions
|
@ -525,7 +525,9 @@ blockToHtml opts (BulletList lst) = do
|
|||
return $ unordList opts contents
|
||||
blockToHtml opts (OrderedList (startnum, numstyle, _) lst) = do
|
||||
contents <- mapM (blockListToHtml opts) lst
|
||||
let numstyle' = camelCaseToHyphenated $ show numstyle
|
||||
let numstyle' = case numstyle of
|
||||
Example -> "decimal"
|
||||
_ -> camelCaseToHyphenated $ show numstyle
|
||||
let attribs = (if startnum /= 1
|
||||
then [A.start $ toValue startnum]
|
||||
else []) ++
|
||||
|
|
Loading…
Add table
Reference in a new issue