Closed Bug 248198 Opened 20 years ago Closed 20 years ago

When I save a page containing empty XHTML tags(e.g <br />), the empty tag gets replaced with its HTML4 equivalent(e.g <br /> to <br>)

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 120556

People

(Reporter: nicholas.skehin, Assigned: bugzilla)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040621 Firefox/0.9
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040621 Firefox/0.9

All empty XHTML tags have the closing / removed - so they become <tagname>
instead of <tagname/> or <tagname />.

Reproducible: Always
Steps to Reproduce:
1. Go to http://alistapart.com (for instance)
2. Save the page to a file.

Actual Results:  
All the <br /> tags in the page became <br>. 

Expected Results:  
Left the page as it is.

I've built Mozilla Firefox under Gentoo Linux with custom CFLAGS, but I can't
see how things this would affect it. Other than that, my system is fairly normal.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040621
Firefox/0.9.0+

same as under Linux

I saved as webpage complete, the saved file still had <br> i/o <br/>
what about either of the other two options?  I know that the web page complete
option basically takes the contents of the DOM and generates the files with the
right names, not necessarily as the exact source as sent.

*** This bug has been marked as a duplicate of 120556 ***
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

Created:
Updated:
Size: