Clean up machine list item html