#1774: IE: <LI> without <OL> consumes sibling nodes
-------------------+--------------------------------------------------------
Reporter: Scott | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: UI : Source View
Version: SVN | Keywords:
-------------------+--------------------------------------------------------
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.
--
Ticket URL: <http://dev.fckeditor.net/ticket/1774>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac