From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9+) Gecko/20010513 BuildID: 2001051308 When in the Composer, if you add a few  's to your file using the source view, then switch away from that view to any other (normal, tags or preview) then switch back to source, the   is gone. Reproducible: Always Steps to Reproduce: 1. Enter some text into the Normal view 2. Switch to source view and insert a   somewhere in that line 3. Switch to any other view. Notice that it is "working" 4. Switch back to source view and notice that is gone Actual Results: keep the  's that I added in there Expected Results:  's are gone The   will be removed anywhere in the source. Also, after noticing that the nbsps are gone, if you switch back to normal view, it looks "weird". The cursor is not right next to the character it is deleting, like there is a space between the character and the cursor. Of course, the workaround is do your main editing in the composer, then load the page in notepad and add your  's.
Compositor != Composer. Changing component to Editor.
Also occurs on linux 2.4 build ID2001051621. Note if after step 4 you save the html file it saves with in the correct places.
so, Phil are you saying that if you enter the nbsp, switch to source view and it looks like it is gone, that it really isn't gone? I'm confused by your comment on 5-17 at 15:00
I did some more testing with saving the file (didn't try that one before, thank you Phil!) and here is what i got. The original is: test If after Step3 I save the file, this is what I get saved: átest If I save after Step4, I get just two blank spaces before 'test'. Hope this helps!
gee this is really strange, on win98 it doesn't matter when I save the file, I still retain the nbsp. In composer it displays as a space, but if I look at the file in notepad, the nbsp is there.
I am really not sure who to give this one to, gonna start with joe and add a bunch of other folks
10 to 1 it's a serializer issue. I wish we had an owner for this stuff.
need help with serializer stuff - i can't get to this anytime soon
marking [serializer]. these bugs need to go to someone else.
over to tony
I bet what's happening here is that whatever is serializing the plaintext is setting the flags wrong so that entities aren't being expanded to &; form, so the source/plaintext editor is showing the character for nbsp (0xa0, IIRC) rather than the expanded form. I think this used to work right. Did the code to serialize to html while switching to source mode change sometime before this bug was filed? Anyway, check the flags on the serializer.
removing the nbsp can drastically alter the look of the web page, nbsp is the only mechanism to preserve whitespace out of the pre reviewed and approved
accepting and working on it. following akkana's advice and trying to figure out who changed this since this is ar egression. anthonyd
fixed, will attach the patch. r = kin, gonna need a sr= from sfraser. adding sfraser to the cc list anthonyd
also, will need branch approval, this shouldnt be a problem since it is an easy fix and it is a serious bug (data corruption).
checked into trunk, still awaiting branch checkin approval. anthonyd
resolving this bug as fixed.
Verified in 8-27 build