Removes unnecessary line breaks and adds item-link style