Closed Bug 271217 Opened 20 years ago Closed 20 years ago

Mozilla Firefox removes one quotationmark from the source

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 43267

People

(Reporter: vertical, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

This: <a href="http://mozilla.org" title="This title contains "quotationmarks"
>_<">Hover me!</a>
...turns into this: <a href="http://mozilla.org" title="This title contains
"quotationmarks >_<">Hover me!</a>

In Firefox (and probably Mozilla too), the quotationmark after the word
'quotationmarks' disappears. I know it's wrong to write code like that, but it
still shouldn't be removed. If you check the testcase in Firefox, you will se
the quotationmark missing. Try to download the file and open it in a text
editor. It will display fine.

Reproducible: Always
Steps to Reproduce:
1. Create an HTML-page like above.
2. Open it in Firefox, right-click and view the source.
Actual Results:  
I saw the code with one quotationmark missing.

Expected Results:  
...show the whole code as it should be.
Attached file testcase
This was fixed on the trunk, but unfortunately the fix didn't make it to the
branch. We now do better than just show the extra quotations, we mark the extra
(misplaced) quotations in error!

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

Attachment

General

Creator:
Created:
Updated:
Size: