Span class being displayed in notifications

I clicked “Accept” to accept a friend request from someone but their friend’s list is full and a message was displayed with a span class around their user tag stating that they have a max number of friends.