The book "contained many jokes that were not appropriate for a programme", the show's producers say.