Samantha Bee apologized on Thursday for having used a vulgar epithet to describe Ivanka Trump on her TBS show, saying she had “crossed a line.” TBS also issued an apology, but took no disciplinary action against the late night host.

Ms. Bee’s insult of the president’s elder daughter on Wednesday’s episode of “Full Frontal With Samantha Bee” included a crude reference for the female anatomy — and caused a furor made more intense because the remark came just a day after ABC swiftly canceled “Roseanne” over a racist tweet by the show’s star, Roseanne Barr.

The different consequences for the two politically minded entertainers — Ms. Barr is an outspoken supporter of the president, while Ms. Bee is a full-throated opponent of the Trump administration — provided conservatives with a fresh opportunity to accuse the media industry of having a liberal bias.

Hours before Ms. Bee and the cable network issued their apologies, the White House press secretary, Sarah Huckabee Sanders, called the host’s remarks “vile and vicious.”