Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#5460 closed Bug (fixed)

Empty <ul></ul> remains on source

Reported by: Frederico Caldeira Knabben Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: Core : Output Data Version: SVN (CKEditor) - OLD
Keywords: Confirmed Review+ Cc:

Description

  1. Load the following HTML:
<ul>
	<li>
		Item 1
		<ul>
			<li>
				Item 1.1</li>
		</ul>
	</li>
</ul>
  1. At the end of "Item 1.1", hit ENTER three times. A new paragraph is started after the list.
  1. Switch to source.

Note that an empty <ul></ul> is created in the first list item:

<ul>
	<li>
		Item 1
		<ul>
		</ul>
		<ul>
			<li>
				Item 1.1</li>
		</ul>
	</li>
</ul>

Confirmed with FF 3.6 at least. Works well with CKEditor 3.2.

Attachments (1)

5460.patch (2.4 KB) - added by Garry Yao 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by Garry Yao

Affects IE also.

Changed 10 years ago by Garry Yao

Attachment: 5460.patch added

comment:2 Changed 10 years ago by Garry Yao

Owner: set to Garry Yao
Status: newassigned

Regression of [5285].

comment:3 Changed 10 years ago by Garry Yao

Keywords: Review? added

comment:4 Changed 10 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

KISS... that's the point. [5285] was touching stuff that should not be changed to solve its related ticket.

comment:5 Changed 10 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [5342].

comment:6 Changed 8 years ago by Frederico Caldeira Knabben

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy