This sounds like the same issue that caused me to switch from Google Docs to Markdown for my notes. One day I spent way too much time trying to figure out why I was getting errors when copy/pasting a command back to the command line. IIRC I finally copied the command to a `vim` window and found that GD was replacing consecutive spaces with some other character that the shell didn't interpret as a space.