bowdlerize
verb
°To remove those parts of a text considered offensive, vulgar, or otherwise unseemly.
"The bowdlerized version of the novel, while free of vulgarity, was also free of flavor."