Closed
Bug 132205
Opened 22 years ago
Closed 22 years ago
File->Save Page As Generates Invalid XHTML
Categories
(Core :: DOM: Serializers, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 120556
People
(Reporter: awd, Assigned: harishd)
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031104 File->Save As generates invalid HTML when saving XHTML file. When using File->Save As to save the HTML page all tags which are of the form: <tag /> Are rendered incorrectly as: <tag> Thus making the file invalid XHTML. Bizarrely if you view the page source and save the page from this menu then the page will save correctly. Reproducible: Always Steps to Reproduce: 1. Load a valid XHTML page (try http://www.entropytango.org) 2. File->Save Page As to save page to file. 3. Open saved file in text editor. Actual Results: Examine the saved file. You will notice that all tag which were <tag /> are now <tag> and the page will no longer validate. Compare the file with what you see when you do View->Page Source. Expected Results: Saved the file correctly with tags of form <tag /> staying of form <tag />. It should be identical to what happens when you do View->Page Source and save the file from there.
Comment 1•22 years ago
|
||
To DOM-to-Text conversion. This is almost certainly a duplicate.... Try saving "HTML Only", not "Web page complete", by the way.
Comment 3•22 years ago
|
||
Good call, Boris. *** This bug has been marked as a duplicate of 120556 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•