1. Please enter the text “foo bar.”
and
2. Please enter the text “foo bar”.
The first is normal American practice, but suggests incorrectly that the period (.) should be input.
Technical writing should be accurate - meaning all quotes should be a true representation that is not subject to style whimsy.