Module:Items: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 299: Line 299:
     return ""
     return ""
   else
   else
     return table.concat(tables, '\r\n<br/>')
     return table.concat(tables, '<br/>\r\n')
   end
   end
end
end
Line 997: Line 997:
   local lootTable = p._getItemLootSourceTable(item)
   local lootTable = p._getItemLootSourceTable(item)
   if string.len(lootTable) > 0 then
   if string.len(lootTable) > 0 then
     if string.len(result) > 0 then result = result..'<br/>\r\n' end
     if string.len(result) > 0 then result = result..'\r\n' end
     result = result..'===Loot===\r\n'..lootTable
     result = result..'===Loot===\r\n'..lootTable
   end
   end