Module:xchc-translit: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 63: Line 63:
for pat, repl in pairs(tt_lepik) do
for pat, repl in pairs(tt_lepik) do
text = mw.ustring.toNFC(mw.ustring.gsub(mw.ustring.toNFD(text), pat, repl))
text = mw.ustring.gsub(mw.ustring.toNFD(text), pat, repl)
end
end
return text
return text