Ticket #7380 (review Bug)

Opened 3 years ago

Last modified 3 years ago

Line breaks in list items are lost when followed by another list

Reported by: wwalc Owned by: garry.yao
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.0.2
Keywords: Cc: kenny.demetter@…, satya_minnekanti@…

Description

Suppose someone has added a few line breaks with Shift+Enter to visually separate an indented list, like in the example below:

<ul>
	<li>
		test 1<br />
		<br />
		<br />
		<ul>
			<li>
				test 11</li>
			<li>
				test 12</li>
		</ul>
	</li>
</ul>

Switch to source/wysiwyg twice. Result: all line breaks are lost

<ul>
	<li>
		test 1
		<ul>
			<li>
				test 11</li>
			<li>
				test 12</li>
		</ul>
	</li>
</ul>

Attachments

7380.patch (2.7 KB) - added by garry.yao 3 years ago.

Change History

comment:1 Changed 3 years ago by wwalc

  • Status changed from new to confirmed

comment:2 Changed 3 years ago by satya

  • Cc satya_minnekanti@… added

Changed 3 years ago by garry.yao

comment:3 Changed 3 years ago by garry.yao

  • Status changed from confirmed to review
  • Owner set to garry.yao
  • Component changed from General to Core : Output Data

Ticket tc added with [7159].

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