Closed Bug 288953 Opened 20 years ago Closed 20 years ago

Quotes inside quotes (invalid xhtml, but still) give wrong source view.

Categories

(Toolkit :: View Source, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: janklopper, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Viewing:
<span style="color:#c0c0c0;" title="[fiets test=\"test\"]">test</span>
in firefox gives me a problem, i know the xhtml doesn't validate, and i know the
selection->view source button would break on this because it generates the
selected source trough the invalid xhtml given to it. But id really hope for
firefox to give me the actual transferred source, and not some generated source.

When vieuwing the page source i get this, other browsers, (opera.konq) do work
as expected.
<span style="color:#c0c0c0;" title="[testing test=\"test\]>test</span>

This bug really gave me headaches, since i was debugging a pretty big xml parser
with ouput to xhtml, and i was searching why the last two " where gone.

Reproducible: Always

Steps to Reproduce:
1.Putt <span style="color:#c0c0c0;" title="[testing test=\"test\"]">test</span>
in xhtml file.
2.view source, notice dropped quotes.

Actual Results:  
Wrong source got displayed.

Expected Results:  
Showed me the actual source of the file, and not some generated one.
The generated one would be fine for "selected" sources tough.
broken in linux fx 1.0.2, worksforme in trunk 20050401
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.