Changes
fix ordered lists - had a stupid variable clash
	-- Detect if the type attribute specified by args.type is using an invalid value, and if so try passing it as a list-style-type CSS property.
	local listStyleType = args.list_style_type or args['list-style-type']
	local listType typeAttr = args['type']	if listType typeAttr and not listTypetypeAttr:match('^%s*[1AaIi]%s*$') then
		if not listStyleType then
			listStyleType = listTypetypeAttr			listType typeAttr = nil
		end
	end
	list
		.attr('start', args.start)
		.attr('type', listTypetypeAttr)
		.css('list-style-type', listStyleType)
		.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.