Module:siwa-pron: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 63: Line 63:
end
end
local _, n = gsub(table.concat(pss,"·"), "ˈ")
local _, n = gsub(table.concat(pss,"·"), "ˈ", "")
return n>=2 and gsub(table.concat(pss,"·"), "ˈ", "", n-1) or table.concat(pss, "·")
return n>=2 and gsub(table.concat(pss,"·"), "ˈ", "", n-1) or table.concat(pss, "·")