Opened 7 years ago

Last modified 6 years ago

#7380 review Bug

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

Reported by: Wiktor Walc 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 (1)

7380.patch (2.7 KB) - added by Garry Yao 6 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by Wiktor Walc

Status: newconfirmed

comment:2 Changed 7 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

Changed 6 years ago by Garry Yao

Attachment: 7380.patch added

comment:3 Changed 6 years ago by Garry Yao

Component: GeneralCore : Output Data
Owner: set to Garry Yao
Status: confirmedreview

Ticket tc added with [7159].

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