Module:rad-pronunciation: Difference between revisions

Fixed rhyme bug
m (Fixed mode change bug)
(Fixed rhyme bug)
Line 98: Line 98:
if mode_dialect == "standard" or mode_dialect == "hjádvanþs" then
if mode_dialect == "standard" or mode_dialect == "hjádvanþs" then
local just_phonemic = mw.ustring.gmatch(args[i], "%/(.*)%/")
local just_phonemic = mw.ustring.match(args[i], "%/(.*)%/")
insert_rhyme(just_phonemic)
insert_rhyme(just_phonemic)
end
end