Changes

no edit summary
Line 154: Line 154:  
             local icon = type(e.equipment) == 'string' and Equipment(e.equipment):icon() or e.equipment:icon()
 
             local icon = type(e.equipment) == 'string' and Equipment(e.equipment):icon() or e.equipment:icon()
 
             local link = type(e.equipment) == 'string' and e.equipment or e.equipment:name()
 
             local link = type(e.equipment) == 'string' and e.equipment or e.equipment:name()
             return string.format('%s [[%s]]', Formatting:format_image{Formatting:format_equipment_icon(icon), link = link }, link)
+
             return string.format('%s [[%s]]', Formatting:format_image{Formatting:format_equipment_icon(icon), link = link}, link)
 
         end), "<br>")
 
         end), "<br>")
 
     end,
 
     end,
Line 505: Line 505:  
     until not sequence or sequence_position > #sequence
 
     until not sequence or sequence_position > #sequence
 
     debugLog("#values", #values)
 
     debugLog("#values", #values)
     return table.concat(values, args.concat or ", ") .. debugString()
+
     return table.concat(values, args.concat or (args.format == "table" and "" or ", ")) .. debugString()
 
end
 
end
  
cssedit, gkautomate
7,064

edits