Bowdlerize (or bowdlerise) means ‘remove material that is considered improper or offensive from (a text or account), especially with the result that the text becomes weaker or less effective’.