Content deleted Content added
clean whitespace and some globals; see talk |
fix "Lua error in Module:RoundN at line 282: bad argument #2 to 'format' (no value)" |
||
Line 278:
if not p.bold then
--backwards compatability (wikitemplates bold each arg individually)
local percent = '_◆◆_'
local hasBold, b = tostring(v):gsub("([^']*)'''([^']*)", '%1 if b ==
v = hasBold:gsub('%%', '%%%%'):gsub(percent, '%%'):format('<b>', '</b>')
end
end
|