Opened 17 years ago
Closed 13 years ago
#1774 closed Bug (worksforme)
IE: <LI> without <OL> consumes sibling nodes
Reported by: | Scott McNaught | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Output Data | Version: | SVN (FCKeditor) - Retired |
Keywords: | IE | Cc: |
Description
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>
</li> </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:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Confirmed with IE and IE7. Works fine with FF2, where the result is :
<p> <li>Item</li> <li>Item 2</li> </p> <p>paragraph</p>
comment:3 Changed 17 years ago by
Keywords: | Confirmed IE IE7 added |
---|
comment:4 Changed 17 years ago by
Keywords: | IE7 removed |
---|
comment:5 Changed 17 years ago by
Component: | UI : Source View → Core : Output Data |
---|
comment:6 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | confirmed → closed |
WFM in CKE3.6.2Trunk, result is:
<ul> <li> Item</li> <li> Item 2</li> </ul> <p> paragraph</p>
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.
Edit: Changes it to: