Module:rad-IPA: Difference between revisions

m
Added escape for  
mNo edit summary
m (Added escape for  )
Line 1,466: Line 1,466:
function export.generate(frame)
function export.generate(frame)
local args = getArgs(frame)
local args = getArgs(frame)
local outputIPA = generate_IPA(args[1])
local outputIPA = args[1]
local parameters = {}
local parameters = {}
local p = 2
local p = 2
Line 1,477: Line 1,478:
end
end
outputIPA = mw.ustring.gsub(outputIPA, "(%&nbsp%;)", " ")
outputIPA = generate_IPA(outputIPA)
outputIPA = resolve_vowels(outputIPA)
outputIPA = resolve_vowels(outputIPA)
outputIPA = resolve_consonants(outputIPA, parameters["hj"], parameters["phon"])
outputIPA = resolve_consonants(outputIPA, parameters["hj"], parameters["phon"])