17,273
edits
(fix 0 handling maybe if I got order of operations right) |
m (replace \n with <br/>) |
||
Line 18: | Line 18: | ||
output[#output+1] = num == 0 and icon.empty or string.rep( icon[1], whole ) .. icon[fraction] | output[#output+1] = num == 0 and icon.empty or string.rep( icon[1], whole ) .. icon[fraction] | ||
end | end | ||
return table.concat(output, " | return table.concat(output, "<br/>") | ||
end | end | ||
return p | return p |