Module:List: Difference between revisions
add list_style_type synonym for list-style-type
m>Mr. Stradivarius (fix indent parameter) |
m>Mr. Stradivarius (add list_style_type synonym for list-style-type) |
||
Line 68: | Line 68: | ||
.attr('start', args.start) | .attr('start', args.start) | ||
.attr('type', args.type) | .attr('type', args.type) | ||
.css('list-style-type', args['list-style-type']) | .css('list-style-type', args.list_style_type or args['list-style-type']) | ||
.cssText(args.list_style or args.ul_style or args.ol_style) -- ul_style and ol_style are included for backwards compatibility. No distinction is made for ordered or unordered lists. | .cssText(args.list_style or args.ul_style or args.ol_style) -- ul_style and ol_style are included for backwards compatibility. No distinction is made for ordered or unordered lists. | ||
.wikitext(table.concat(listItems)) | .wikitext(table.concat(listItems)) |