Closed
Bug 169333
Opened 23 years ago
Closed 23 years ago
Malformed tags in Composer are not XML compliant
Categories
(Core :: DOM: Serializers, defect)
Tracking
()
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.
Comment 1•23 years ago
|
||
is this a duplicate?
Assignee: syd → harishd
Status: UNCONFIRMED → NEW
Component: Editor: Composer → DOM to Text Conversion
Ever confirmed: true
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 55313 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
| Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•