I 'try' not to swear myself, but I don't care if I read it in books. I certainly have never scanned a book ahead of time & put it back simply because I spotted a swear in it.
I'm not about to start reading ancient books that I'm not interested in, just because I know they were written by people the Puritans would have approved of.