I had assumed, until now, that the rule was that when there is a full quote, the stop goes before the inverted commas, but when only parts of a sentence or odd words are in quotes it is okay to place the full stop after the inverted comma. ... Note that the punctuation comes after the inverted commas.
Do you put a full stop before or after inverted commas?
For the relative placing of quotation marks and punctuation, follow Hart's rules. Thus, if an extract ends with a full stop or question-mark, put the punctuation before the closing inverted commas.
Does full stop come after quotation marks?
Commas and Periods Within Quotation Marks
British English puts commas and periods (full stops) outside the quotation marks unless the quotation is also a complete sentence or the punctuation is part of the quotation.