Module:Tone superscript: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 8:
x = x:gsub("<sup><sup>([%d%*]+)</sup></sup>", "<sup>%1</sup>")
root:tag('span'):wikitext(x)
local tracking = ''
return tostring(root)
if string.match(arg, "</?sup>") then tracking = '[[Category:Pages using Tone superscript with sup tags]]' end
return tostring(root)..tracking
end