when im using
or   'replacement' for nbsp; was displayed always as normal (wrapped) text
tested in safari 4.0.5 (531.22.7)
or/and Qt 4.5.0 webkit (both mingw, Visual Studio 2008 compilation)
or/and Qt 4.6.1 webkit (both mingw, Visual Studio 2008 compilation)
i dont no, if this is a bug or feature.
thanks for reply or solution
This is pretty much the same as bug 12828, but that focuses on typing. Maybe there is a closer dupe that I couldn't find.
WebKit HTML editing thinks that it can use non-breaking spaces to simulate runs of spaces, and thus loses the no-break feature, sadly.
Still present in Safari 14.0 (15610.1.28.1.9, 15610)
The workaround here is to use: word-wrap: initial; -webkit-nbsp-mode: initial;