Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
getSpell: Another attempt at handling page names with apostrophes
(Attempt to resolve issue with spell names containing apostrophes)
(getSpell: Another attempt at handling page names with apostrophes)
Line 28: Line 28:
   end
   end
    
    
   name = string.gsub(name, "'", "'")
   name = Shared.fixPagename(name)
   if section == nil then
   if section == nil then
     for i, section in Shared.skpairs(MagicData) do
     for i, section in Shared.skpairs(MagicData) do