Thread:MondlichtPanda/@comment-3452092-20190714133009/@comment-3452092-20190728142719

Apparently I learned a completely different rule than you did, because while I don't like it, the way that is written is exactly how I was taught to do it. I'm not sure the actual source, but here's the rule as seen on wikihow (I'll include the link below):

4 Include commas and periods in the quotation marks. Any commas or periods that are part of the sentence should be included in the quotation marks, even if the original quotation does not have a comma or a period. For example:[8] “The best way to eat food,” Pollen argues, “is to make it yourself.” (From the original quote, “The best way to eat food is to make it yourself at home, whenever you can.”) “The best investments today,” according to Smith, “are commodities and emerging-market stocks.” (From the original quote, “The best investments today are commodities and emerging-market stocks, not domestic stocks and bonds.”

https://m.wikihow.com/Use-Quotation-Marks