Closed Bug 169333 Opened 23 years ago Closed 23 years ago

Malformed tags in Composer are not XML compliant

Categories

(Core :: DOM: Serializers, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 55313

People

(Reporter: shaneyfelt, Assigned: harishd)

Details

Put a hr or br tag in a page, the tag should look like <hr /> or <br /> instead of <hr> or <br>. Alternatively, the opening tag could be followed by a closing tag (I suspect it would fail with img tags as well). Failure to do this results in malformed pages that can't be parsed with tools that require well-formed xml. Any code generating xhtml or xml (or html) should follow the compatibility guidelines given in: http://www.w3.org/TR/xhtml1/#guidelines At the very least, it should not destroy a document that is already xml compliant before being edited. This should be an easy fix. GIMP had a similar problem with imagemaps that was patched the following day.
is this a duplicate?
Assignee: syd → harishd
Status: UNCONFIRMED → NEW
Component: Editor: Composer → DOM to Text Conversion
Ever confirmed: true
*** This bug has been marked as a duplicate of 55313 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.