Module:mg-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 62: Line 62:
else
else
for _, s in ipairs(syll) do
for _, s in ipairs(syll) do
if match(mw.ustring.toNFD(s), ACUTE) then
if match(s, "[áéíóú]") then
s = "ˈ" .. remove_acute(s)
s = "ˈ" .. remove_acute(s)
return table.concat(syll, "·")
return table.concat(syll, "·")