Inside of you are two wolves:

One of them wants to be grammatically correct and put the punctuation inside "the quoted text."

The other one has been programming for 25 years and is howling at the top of its lungs, "I demand proper nesting!".

@andrewrk The Brits have just one wolf. https://en.wikipedia.org/wiki/Quotation_marks_in_English#British_style

I tend to use this for most of my casual writing, despite being American.

Quotation marks in English - Wikipedia

@fontenot @andrewrk For me, kerning takes care of that and both style look nearly the same :D