532
edits
No edit summary |
(removed trailing spaces and added real hyphenation) |
||
Line 66: | Line 66: | ||
heroname = heroname .. ((prefixes..infixes..postfixes):gsub("^%l", string.upper):gsub("-$", '')) .. ' ' | heroname = heroname .. ((prefixes..infixes..postfixes):gsub("^%l", string.upper):gsub("-$", '')) .. ' ' | ||
end | end | ||
heroname = heroname:gsub("\s*$", '') | |||
--[title template]-- | --[title template]-- | ||
-- titletemplate=result[1]['TitleTemplate'] | -- titletemplate=result[1]['TitleTemplate'] |