Ticket #8611 (closed Bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

An extra blank space inserted after br tag within li tag is exposed when using <shift+enter> to insert a new line

Reported by: IBM_RQM Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.0
Keywords: Cc:

Description

How to reproduce:

  1. Create a list with two line list details
  2. Move the cursor to the end of first line
  3. Press Shift + Enter to insert an line feed
  4. Open Firbug to check the xml code, you will see there are two br tags followed the first line content within the li tag.
  5. Switch it to Preview mode and check the xml code with Firebug, you will see there is only one br tag.
  6. Save it
  7. Check the html code get by CKEditor's getData() method, you will find that here is an extra blank space inserted after a br tag within that li tag.

Attachments

list_in_firebug_html_preview_mode.png (144.5 KB) - added by IBM_RQM 2 years ago.
exposed_html_code.png (115.9 KB) - added by IBM_RQM 2 years ago.

Change History

Changed 2 years ago by IBM_RQM

Changed 2 years ago by IBM_RQM

comment:1 Changed 2 years ago by IBM_RQM

Could I get an update of this defect status. Thanks!

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to closed
  • Version changed from 3.6.2 to 3.0
  • Resolution set to wontfix

Easier test case is changing points 5 and 6 from:

  1. Switch it to Preview mode and check the xml code with Firebug, you will see there is only one br tag.
  2. Save it

to Switch to Source mode.

Although not expected this is something that we can not do with out. If this space was not there the second line (new empty line) wouldn't be visible anymore in output page.

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