just tested. works without problems. Give that same code another try for the Nano
Ps.
For a next post of code first press on Full Editor & Preview.
Then select the code and press on the bottom as in the screen attached. With Preview you can see the code before it is send.