Content deleted Content added
m Jc86035 moved page Module:Jpingauto to Module:Tone superscript without leaving a redirect |
mNo edit summary |
||
Line 6:
local x = arg:gsub("(%d)", "<sup>%1</sup>")
x = x:gsub("(%d)</sup>%*<sup>(%d)", "%1*%2")
x = x:gsub("<sup>(<sup>)+(.*)(</sup>)+</sup>", "<sup>%2</sup>")
root:tag('span'):wikitext(x)
return tostring(root)
|