65,724
editsMore actions
Added no margin version of htmlListNoBullets
HiddenDragon (talk | contribs) m (htmlListNoBullets should still keep margin) |
HiddenDragon (talk | contribs) (Added no margin version of htmlListNoBullets) |
||
Line 207: | Line 207: | ||
htmlListNoBullets = function (elements) | htmlListNoBullets = function (elements) | ||
local result = "<ul style='list-style: none;'>\n" | local result = "<ul style='list-style: none;'>\n" | ||
for i, str in ipairs(elements) do | |||
result = result .. "<li>" .. str .. "</li>\n" | |||
end | |||
return result .. "</ul>" | |||
end, | |||
htmlListNoBulletsOrMargin = function (elements) | |||
local result = "<ul style='list-style: none; margin: 0'>\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" |