Module:Item: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 20: Line 20:
     local formattedNames = {}
     local formattedNames = {}


     for itemName in string.gmatch(itemNames, "[^%s&]+") do
     for itemName in string.gmatch(itemNames, "[^%s,/&]+") do
         local _, _, mod, name = string.find(itemName, "([^:]+):([^:]+)")
         local _, _, mod, name = string.find(itemName, "([^:]+):([^:]+)")
         if not mod then
         if not mod then