Module:Magic: Difference between revisions

From Melvor Idle
(Substitute links with Icons.Icon() where possible to benefit from ambiguous link handling)
(Attempt to resolve issue with spell names containing apostrophes)
Line 28: Line 28:
   end
   end
    
    
  name = string.gsub(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