Closed
Bug 304340
Opened 19 years ago
Closed 19 years ago
Missing character immediately after HTML coded character.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mfreymond, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Here is a simple example page: <html> <head> </head> This is an ampersand: & <P> There should be a semi-colon in the sentance after the ampersand & but there isn't. </html> Reproducible: Always Steps to Reproduce: 1. Save html example above as test.html 2. open html file 3. Actual Results: Missing Characters Expected Results: Displayed all the characters as specified in the HTML.
Comment 1•19 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050811 Firefox/1.0+ ID:2005081108 Reporter, see if you can reproduce with a nightly. ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Component: General → DOM: HTML
Product: Firefox → Core
Version: unspecified → 1.0 Branch
Comment 2•19 years ago
|
||
Your given testcase has nothing after the ampersand so why would you expect it to display a semi-colon? Please attach a testcase to the bug that demonstrates this issue.
Updated•19 years ago
|
Version: 1.0 Branch → 1.7 Branch
| Reporter | ||
Updated•19 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
It looks like in your sentence you expect '&' to be displayed as an ampersand and ';' to be displayed after it. HTML entities should have a ; after them to eliminate confusion when they're embedded in text that might add to the entity name. You probably want &; => &;
Component: DOM: HTML → DOM: Core & HTML
QA Contact: general → general
You need to log in
before you can comment on or make changes to this bug.
Description
•