Entity Names Ignore Multiple Spaces [please invalidate this I found the actual reason sorry]
DISREGARD THIS, the reason this happened was because I ran the summon command from chat, which automatically condenses spaces. If run in a command block, it runs fine.
Summoning an entity with a visible custom name that at any point has more than 1 space next to each other will condense the spaces into 1 space.
To test:
/summon ArmorStand ~ ~ ~
{CustomName:" testt e s st ",CustomNameVisible:1b}2016-02-28, 03:17 AM
2016-02-28, 03:44 AM
2016-02-28, 03:44 AM
0
1
-