The American Style of Quotation Mark Punctuation Makes No Sense:
When faced with this contrast, the proper reaction is to recoil in horror at the first approach, and to look approvingly on the second. In the sentence beginning with It is only …, the quotation is a part of the sentence, and the sentence contains the quoted word.