Module:Icons: Difference between revisions

194 bytes removed ,  12 November 2021
fixing apostrophe related images (hopefully)
(Add v1.0 extension overrides for items)
(fixing apostrophe related images (hopefully))
Line 263: Line 263:
   local img = args.img ~= nil and args.img or link
   local img = args.img ~= nil and args.img or link


   link = string.gsub(link, "%%27", "'")
   link = Shared.fixPagename(link)
  link = string.gsub(link, "'", "'")
   img = Shared.fixPagename(img)
  link = string.gsub(link, "'", "'")
  img = string.gsub(img, "%%27", "'")
  img = string.gsub(img, "'", "'")
   img = string.gsub(img, "'", "'")


   img = string.gsub(img, '#', '')
   img = string.gsub(img, '#', '')