Closed Bug 291139 Opened 20 years ago Closed 20 years ago

" and ' are visible as " and ' in View Source

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 164906

People

(Reporter: pascal.vogels, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

E.g. when my actual HTML source looks like this:

"&<>'

it is displayed in "View Source" as this:

"&<>'

I feel this is not entirely correct.

Reproducible: Always

Steps to Reproduce:
1. Create a test.html file with the following text in it: "&<>'
2. Click "View Source"

Actual Results:  
Now "&<>' is visible

Expected Results:  
It should have shown 

"&<>'

in my opinion. (Apparently Internet Explorer feels te same)
that's odd, when i load the url i provided in mozilla trunk (4/4-06) it does the
right thing...

please explain precisely how you reach "view source"
Okay, you're right. I should have been more precise.

The problem occurs when you select the piece of code in Firefox (displayed 
as "&<>'), and _then_ right-click the selection and select "View selection 
source". 

In all other situations the source is displayed correct.

*** This bug has been marked as a duplicate of 164906 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.