"Why aren’t they firing no talent Samantha Bee for the horrible language used on her low ratings show?" President Donald Trump tweeted

Receive the latest entertainment-news updates in your inbox

Samantha Bee's reference about Ivanka Trump came toward the end of a segment about President Trump's immigration policies on her show, "Full Frontal."

Comedian Samantha Bee apologized to Ivanka Trump and viewers on Thursday for using an obscenity to describe the president's daughter, an incident that quickly thrust her into the middle of the nation's political divide.

Her network, TBS, also said it was "our mistake, too," in allowing the language on Bee's show, "Full Frontal," on Wednesday. Her show is taped and not aired live.

Bee called Ivanka Trump a "feckless c---" toward the end of a segment about President Trump's immigration policies. She used the slur in urging Ivanka Trump to speak to her father about policies that separate children from their parents.

"Put on something tight and low-cut and tell your father to f---ing stop it," she said.

Bee, a former correspondent on "The Daily Show" with Jon Stewart whose own show has been one of TBS' big successes since it started in 2016, said that her language was "inappropriate and inexcusable.

"I crossed a line, and I deeply regret it," she said.

I would like to sincerely apologize to Ivanka Trump and to my viewers for using an expletive on my show to describe her last night. It was inappropriate and inexcusable. I crossed a line, and I deeply regret it.

Before the apology, White House press secretary Sarah Sanders called Bee's language "vile and vicious" and said executives at TBS and corporate parent Time Warner needed to demonstrate that such explicit profanity about female members of the administration would not be condoned.

TBS said Bee had taken the right step in apologizing. The network made no mention of any disciplinary action.

The car company Autotrader said that it would pull its advertising sponsorship from "Full Frontal," calling Bee's language offensive and unacceptable. Bee's show is being honored Thursday by the Television Academy as one of the most "meaningful and relevant" on the air; the academy said the controversy over her language won't change that.

The academy said its event is "non-political" and that Bee's recognition is for "her engagement in 2017 on the subject of sexual harassment and the #MeToo movement."

Coming two days after ABC canceled "Roseanne" following a racist tweet about former Obama adviser Valerie Jarrett, Bee's remark was immediately seized upon by culture warriors. Some conservatives upset about the "Roseanne" cancellation suggested Bee should meet the same fate, while liberals wondered whether Bee's words were any worse than some used by President Trump, notably in the "Access Hollywood" tape.

"I dream of a life where we hold our president to a higher standard than we hold comedians," said another comic, Marie Connor, on Twitter.

Ari Fleischer, former press secretary to President George W. Bush, said there was a double standard when you compare media reaction to Barr and Bee. He said the media would go "nuts" if a conservative Republican used the same slur that was used by Bee against Nancy Pelosi.

"The outrage would be instant and overwhelming," Fleischer said online.

Liberal filmmaker Michael Moore noted that President Trump and his aides had not condemned Barr's racism and tried to "confuse the issue by going after Samantha Bee's brilliant rant against Ivanka."

Bee's commentary had the potential to be a corporate headache. Time Warner, which owns channels including TBS, CNN and HBO, is in the process of being acquired by AT&T for $85 billion. The Justice Department has sued to block the deal, however, due to monopoly concerns, and a decision on whether or not it will proceed is expected June 12.