You want non-breaking spaces for this. They're the same width as a normal space, but don't collapse together in HTML.
I once encountered a bizarre bug caused by a user whose keyboard was somehow configured to automatically insert these if they added two or more sequential spaces.
And web browsers muddied the water a lot, since rendering two spaces is generally done by rendering two spaces, unless you're on the web and then have to do something special (some people do! is pretty common). Personally I think this alone is the biggest influence that trained generations that one space is the majority and therefore the most correct.
---
I wish they called the zero-width spaces "non-space", so we could have both (non-breaking space) and &zwsp; (breaking non-space).
Fuck. I don't even know what I'd have to do if I wanted to fake it... is there a double-width space in Unicode?