Format task list item