Closed Bug 309195 Opened 19 years ago Closed 19 years ago

View source "corrects" broken html code by adding > if missing. "<foo<bar>" becomes "<foo><bar>"

Categories

(Toolkit :: View Source, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 70918

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

If the source contains "<foo<bar>", view source will "correct" it to "<foo><bar>".

Also, if a document only contains "<foo", view source will show nothing at all.

My quotes (") is not a part of the code.

Reproducible: Always

Steps to Reproduce:
1. View a document containing <foo<bar>
2. View source (^u)
3. Notice that <foo<bar> is now "corrected" to <foo><bar>

Actual Results:  
The view source function does not display the source of the page. Perhaps it
display the source of what is rendered, but not the actual source code.

Expected Results:  
I would expect view source to show me the source as it is, with no modifications.

It is hard to find bug in your html code when firefox hides/correct it in the
view source function.
WFM Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4)
Gecko/20050918 Firefox/1.4

I think this is a dup of bug 70918.

*** This bug has been marked as a duplicate of 70918 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Verified DUPE. In Firefox 1.5, we one-up ourselves and even try to show these
typos in red to help identify them.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.