Editing Module:Flex
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 6: | Line 6: | ||
local items = {} | local items = {} | ||
for i = 1, #args do | |||
local item = args[i] | |||
for | |||
local item = args[ | |||
if item and mw.text.trim(item) ~= "" then | if item and mw.text.trim(item) ~= "" then | ||
table.insert(items, '<div>' .. item .. '</div>') | table.insert(items, | ||
'<div>' .. item .. '</div>' | |||
) | |||
end | end | ||
end | end | ||