Closed Bug 288911 Opened 20 years ago Closed 20 years ago

"&nbsp" (non breaking space) displayed if ';' omitted in source code.

Categories

(Core :: Layout, defect)

defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: alanky, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

 "&nbsp" (non breaking space) displayed if ';' omitted in source code. IE6 ok.
 
_________________Quote_________________

Privacy Statement

Yachting Australia&nbspis committed

_______________End Quote_______________

Reproducible: Always

Steps to Reproduce:
1. Always there in Firefox when URL opened
2.
3.


Expected Results:  
Treat &nbsp  as   
I can confirm that it displays as stated. Is this valid ? Sould it not take the ; ?
Severity: normal → trivial
Component: General → Layout
OS: Windows XP → All
Product: Firefox → Core
Hardware: PC → All
Summary: "&nbsp" (non breaking space) displayed if ';' omitted in source code. IE6 ok. → "&nbsp" (non breaking space) displayed if ';' omitted in source code.
Version: unspecified → Trunk
The semi-colon needs to be there.  See 

http://www.w3.org/TR/html4/charset.html#entities

"Note. In SGML, it is possible to eliminate the final ";" after a character
reference in some cases (e.g., at a line break or immediately before a tag). In
other circumstances it may not be eliminated (e.g., in the middle of a word). We
strongly suggest using the ";" in all cases to avoid problems with user agents
that require this character to be present."
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
*** Bug 302741 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.