@Ian_Keen came across this issue a few days ago. You can find his message here: Unwanted spaces in StringLiteral output - #4 by Ian_Keen