Can always fix this on the frontend with JavaScript for free if it's an actual problem.
If your code cares about unicode spaces at the beginning of user input, there is your problem.
(Also, you missed the reject part)
Nice to see what people think of offloading work to users' systems. This kind of thinking leads to slow ensures with fucked up scrolling.
Can always fix this on the frontend with JavaScript for free if it's an actual problem.