Closed Bug 266352 Opened 20 years ago Closed 20 years ago

non breaking spaces are not parsed if there is no space between them and following text

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: ryster, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1

In the page referenced by the URL above,  &nbsp characters are not parsed as 
spaces if they are immediately before a string of text without a separating 
space.  &nbsp characters are parsed correctly and replaced with spaces if they 
are on their own.  Other browsers parse these characters even if they are 
directly touching the following text.

Reproducible: Always
Steps to Reproduce:
1. See above
Actual Results:  
The following is displayed:
&nbspU:

Expected Results:  
This should be displayed:
 U:

I know I can get around this by adding a space between the &nbsp and the 
following text, but this is a pain.
Version: unspecified → 1.0 Branch
This is becasue ALL sequences like    begin swith the '&' character and end
with the ';' character.  There is no ';' after the &nbsp occurances on this page
and is therfore NOT valid.  So this bug is really INVALID, but I do not have the
priviledge to mark it as such.
How come just &nbsp on its own is parsed then?
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.