Module:snon-common: Difference between revisions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
if tag ~= "nolen" then | if tag ~= "nolen" then | ||
if mw.ustring.find(word_l, "^[ | if mw.ustring.find(word_l, "^[bcdfgmptsnlrv]") then | ||
ret.len = mw.ustring.gsub(word, "^(.)", "%1h") | ret.len = mw.ustring.gsub(word, "^(.)", "%1h") | ||
elseif mw.ustring.find(word_l, "^i[aeouàèòù]") then | elseif mw.ustring.find(word_l, "^i[aeouàèòù]") then | ||