It is commonplace to put punctuation outside the quotation marks when the punctuation itself is not being quoted.