Closed
Bug 281580
Opened 20 years ago
Closed 20 years ago
'File / Save Page As...' strips xhtml closing tags
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 120556
People
(Reporter: kmcinnes, Assigned: bugzilla)
Details
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 I was saving local browser pages, of served pages, for validation through http://validator.w3.org. When I used 'File / Save Page As...' through the menu, this stripped the xhtml closing tags from the source page. 'View / Page Source' then 'File / Save Page As...' saves the xhtml correctly. Reproducible: Always Steps to Reproduce: 1. Open an xhtml page in Firefox. 2. 'File / Save Page As...' 3. Look at the saved page and note the differences . eg. meta tags that were closed are no longer closed, img tags that were closed are no lnger closed.
Confirm. And Mozilla1.7.4 reproduces. First of all, http://validator.w3.org returns "Content-Type" with "text/html; charset=utf-8". Therefore, I think that "HTML Complete save" does save as HTML. But in save of "HTML Only", there is no problem. I do not understand whether this difference is a specification. By the way, there is no problem in the server to which "Content-Type" is returned with "application/xhtml+xml;". Windows XP SP1 Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.8b) Gecko/20050208 Firefox/1.0+ Mozilla 1.7.4 Release
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 120556 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•20 years ago
|
||
This issue does not seem to be a 'resolved'. Particularly by the many people who create xhtml 1.0 webpages with a full doctype, saved as .html, or for those who create such xhtml 1.0 webpages delivered by server-side software. The code received will be modified if they inadvertently 'File / Save As ...' rather than 'View / Page Source' then 'File / Save Page As...' For students still learning, this is confronting, and confusing.
Comment 4•20 years ago
|
||
Ok. This bug report is still a duplicate.
You need to log in
before you can comment on or make changes to this bug.
Description
•