মডিউল:List: সংশোধিত সংস্করণের মধ্যে পার্থক্য

adjust match
use nil
৮ নং লাইন: ৮ নং লাইন:
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')
৭০ নং লাইন: ৭০ নং লাইন:
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