Module:List: Difference between revisions

Jump to navigation Jump to search
m>Frietjes
adjust match
m>Frietjes
use nil
Line 8: Line 8:
local function getListItem(data, style, itemStyle, itemValue)
local function getListItem(data, style, itemStyle, itemValue)
if not data then
if not data then
return nil
return c
end
end
local item = htmlBuilder.create('li')
local item = htmlBuilder.create('li')
Line 70: Line 70:
if not args['list_style_type'] and not args['list-style-type'] then
if not args['list_style_type'] and not args['list-style-type'] then
args['list_style_type'] = args['type']
args['list_style_type'] = args['type']
args['type'] = ''
args['type'] = nil
end
end
end
end