IE: <LI> without <OL> consumes sibling nodes
|Reported by:||Scott||Owned by:|
|Component:||Core : Output Data||Version:||SVN (FCKeditor) - Retired|
Setting the source to:
<li>Item</li> <li>Item 2</li> <p>paragraph</p>
Changes it to:
<p> <li>Item</li> <li>Item 2 <p>paragraph</p>
There are two things that are happening here. FixBody() is wrapping everything in a <P> tag. This is not the bug.
Somewhere else, the last <li> tag is being opened up to allow everything else to be nested underneath it.
I realise that there really shouldnt be any <li>s without <ol> or <ul> but sometimes bad code can be pasted in which contain things like this.
Change History (6)
comment:5 Changed 8 years ago by alfonsoml
- Component changed from UI : Source View to Core : Output Data