That’s just standard web handling of white space, isn’t it?
Or do you mean something different?
HTML will ignore extra whitespace, but when you input stuff into a text box, the way it's displayed will depend on choices made by the site. I don't know whether there are standard choices, and I'd bet that they use very basic choices here, but it's just too bad.