Closed
Bug 21146
Opened 25 years ago
Closed 25 years ago
view source no longer showing ampersands on entities
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: rickg)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
DESCRIPTION: View source is not showing the ampersands on entities. It shows
"nbsp;" instead of " ".
STEPS TO REPRODUCE:
* load attached test case
* view source
ACTUAL RESULTS:
* all the brown things are entities, but none begins with an ampersand
EXPECTED RESULTS:
* they should all begin with ampersands
DOES NOT WORK CORRECTLY ON:
* Linux, mozilla, 1999-12-07-15-M12
ADDITIONAL INFORMATION: This is a regression.
Reporter | ||
Comment 1•25 years ago
|
||
This can be fixed two ways: in the viewsource DTD or in html.css. I prefer doing
it in the html.css as generated content, like this:
viewsource|entity:before {content: "&"; color: maroon;}
Awaiting approval to checkin.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•