@@ -53,7 +53,7 @@ pub type Container {
5353 )
5454 OrderedList (
5555 layout : ListLayout ,
56- style : OrdinalPunctuation ,
56+ punctuation : OrdinalPunctuation ,
5757 ordinal : OrdinalStyle ,
5858 start : Int ,
5959 items : List ( List ( Container ) ) ,
@@ -1911,8 +1911,8 @@ fn parse_list(
19111911 let items = list . reverse ( items )
19121912 let container = case style {
19131913 Bullet ( bullet_style ) -> BulletList ( layout : , style : bullet_style , items : )
1914- Ordered ( ordered_style , ordinal ) ->
1915- OrderedList ( layout : , style : ordered_style , ordinal : , start : , items : )
1914+ Ordered ( punctuation , ordinal ) ->
1915+ OrderedList ( layout : , punctuation : , ordinal : , start : , items : )
19161916 }
19171917 # ( container , in )
19181918 }
@@ -2478,7 +2478,7 @@ fn container_to_html(
24782478 |> close_tag ( "ul" )
24792479 }
24802480
2481- OrderedList ( layout : , style : _ , ordinal : , start : , items : ) -> {
2481+ OrderedList ( layout : , punctuation : _ , ordinal : , start : , items : ) -> {
24822482 let attrs = case start {
24832483 1 -> dict . new ( )
24842484 _ -> dict . from_list ( [ # ( "start" , int . to_string ( start ) ) ] )
0 commit comments