Closed Bug 252671 Opened 21 years ago Closed 21 years ago

Browser not handling the display of the special character &lt when it is butted up against other text

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mjcarpenter, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9 In my html source if I use the &lt specifier to show a < symbol the browser will display the characters &lt if there is text butted up against it. (i.e. &ltSome text) Reproducible: Always Steps to Reproduce: 1.Generate a html document that has the following text. &ltTest One &lt Test Two Actual Results: &ltTest One < Test Two Expected Results: <Test One < Test Two
You're required to end the entity with a semicolon (&lt;) in such cases. Always ending it with the semicolon is considered good coding practice in any event.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.