To add my 2 cents, I'd say comma inside and semicolon outside right quotation mark. That said, if you have to use quotation marks, I'd suggest using no comma or semicolon in the original example. If you have the choice, I'd avoid quotation marks and use a different convention for text that must be typed or entered by the user.