Closed Bug 321965 Opened 19 years ago Closed 19 years ago

save page breaks XHTML encoding

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 120556

People

(Reporter: mikel, Unassigned)

References

()

Details

The source of an XHTML document contains so-called "compact" tags like this: <meta name="author" content="Michael Wardle" /> The source document validates as valid XHTML 1.0 Strict on the W3C MarkUp Validator <http://validator.w3.org>. Saving this document using File->Save Page As...->Web Page, complete... causes the trailing slash in compact tags to be stripped out in the generated file. This causes the saved file to not validate.
*** This bug has been marked as a duplicate of 120556 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
The standard states that XHTML should be served with a MIME type of "application/xhtml+xml". Since it's served as text/html from your server, Firefox treats it as such.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.