Both of the examples of UK punctuation in this answer are incorrect. It's a myth that in UK style, punctuation
always goes outside; it doesn't. There are very specific guidelines. Even in UK English, the punctuation in
these sentences should go inside the quotation marks. On the other hand, this answer
is correct in terms of the question itself and the specific phrase being discussed. (I just wish you'd picked a legitimate example of UK punctuation.) —
Jason Bassford 12 mins ago