Changes

m
no edit summary
Line 120: Line 120:  
                     local values = { equip_name = Formatting:format_link(equip:link()), style = "" }
 
                     local values = { equip_name = Formatting:format_link(equip:link()), style = "" }
 
                     if index == #row_values[column] then values.style = "border-bottom: 1px solid grey;" end
 
                     if index == #row_values[column] then values.style = "border-bottom: 1px solid grey;" end
                     table.insert(self._rows, [[ style="]] .. values.style .. [[" |" ]] .. Formatting:format_image{Formatting:format_equipment_icon(equip:icon())})
+
                     table.insert(self._rows, "| style=\"" .. values.style .. "\" |" .. Formatting:format_image{Formatting:format_equipment_icon(equip:icon())})
 
                     table.insert(self._rows, format(self._column_cell_templates[column], values))
 
                     table.insert(self._rows, format(self._column_cell_templates[column], values))
 
                     table.insert(self._rows, "|-")
 
                     table.insert(self._rows, "|-")
48

edits