Module:snon-common: Difference between revisions
No edit summary |
No edit summary |
||
| Line 20: | Line 20: | ||
if tag ~= "nolen" then | if tag ~= "nolen" then | ||
if mw.ustring.find( | if mw.ustring.find(word, "^[bcdfgmptsnlrv]") then | ||
ret.len = mw.ustring.gsub(word, "^(.)", "%1h") | ret.len = mw.ustring.gsub(word, "^(.)", "%1h") | ||
ret.ecl = eclipsis_prefixes[mw.ustring.gsub(mw.ustring.toNFD(word_l), 1, 1)] | ret.ecl = eclipsis_prefixes[mw.ustring.gsub(mw.ustring.toNFD(word_l), 1, 1)] | ||