I don't know if you can consider this as feature request, if so it is probably unnecessary to post this in reddit.com/r/minecraftsuggestions because I can say for sure that it will get 0 points.
If you have a command returning code (or rather NBT data), the game tries to format this text with the normal formatting rules, so it will split at white spaces.
Example:
Summon a zombie and use this command:
/entitydata @e[type=Zombie,r=5] {CustomName:White Space}