Module:number list/show: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 129: Line 129:
end
end
if numeral then
if numeral then
if numeral:match("¹") or numeral:match("²") then
if numeral:match("[SR]") then
output:insert("! " .. numeral)
cell(numeral:gsub("S","¹"):gsub("R","²"))
else
else
check_string(numeral)
check_string(numeral)