Expurgation, also known as bowdlerization, is a form of censorship that involves purging anything deemed noxious or offensive from an artistic work, or other type of writing or media.
The term bowdlerization is a pejorative term for the practice, particularly the expurgation of lewd material from books. The term derives from Thomas Bowdler's 1818 edition of William Shakespeare's plays, which he reworked in ways that he felt were more suitable for women and children. He similarly edited Edward Gibbon's Decline and Fall of the Roman Empire.
A fig-leaf edition is such a bowdlerized text, deriving from the practice of covering the genitals of nudes in classical and Renaissance statues and paintings with fig leaves.