Yeah, it’s crooked—but it’s straight from the AP Style Manual.
See that part about the commas and periods? Inside the quotation marks!

quotes and usage