Closed
Bug 22623
Opened 25 years ago
Closed 25 years ago
An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul>
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: dweinste, Assigned: harishd)
Details
Attachments
(1 file)
64 bytes,
text/html
|
Details |
Here is a code snippet that shows the bug:
<ul>
<li>A
<li>B
<li>C</li>
</li>
</ul>
Reporter | ||
Comment 1•25 years ago
|
||
Assignee: rickg → harishd
Summary: An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul> → An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul>
Harish -- I'm giving this to you because you added the code that is responsible.
In HandleEndToken(), there's code in the default section of the switch() that
forces an open tag if only a close tag is found. I think you added it so
that we'd get the extra linefeed. I prefer that this code go away; perhaps we
should just emit a <BR>. Nonetheless, here you go.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in
before you can comment on or make changes to this bug.
Description
•