Ad placeholder

Module:ParseList: Difference between revisions

Jump to navigation Jump to search
m
htmlListNoBullets should still keep margin
m (Reorder styles.)
m (htmlListNoBullets should still keep margin)
Line 206: Line 206:
end,
end,
htmlListNoBullets = function (elements)
htmlListNoBullets = function (elements)
local result = "<ul style='list-style: none; margin: 0;'>\n"
local result = "<ul style='list-style: none;'>\n"
for i, str in ipairs(elements) do
for i, str in ipairs(elements) do
result = result .. "<li>" .. str .. "</li>\n"
result = result .. "<li>" .. str .. "</li>\n"

Navigation menu