Opened 5 years ago

Closed 5 years ago

#5595 closed Bug (fixed)

Leading line-breaks lost in <pre>

Reported by: garry.yao Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.4.2
Component: Core : Output Data Version: 3.0
Keywords: Cc:

Description

Reproducing Procedures

  1. Open any of the sample page and load the editor with the following content;
    <pre>
    
    Two leading breaks, one visible only.</pre>
    
    • Actual Result: The line-break is invisible in wysiwyg mode.

Attachments (2)

5595.patch (1.1 KB) - added by garry.yao 5 years ago.
5595_2.patch (2.4 KB) - added by garry.yao 5 years ago.

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by garry.yao

comment:1 Changed 5 years ago by garry.yao

  • Keywords Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned

Design TC updated:
run OR view source.

comment:2 Changed 5 years ago by fredck

  • Milestone changed from CKEditor 3.3 to CKEditor 3.4

comment:3 Changed 5 years ago by fredck

  • Milestone changed from CKEditor 3.4 to CKEditor 3.5

comment:4 Changed 5 years ago by Saare

  • Keywords Confirmed removed
  • Status changed from review to review_failed

Tags with attributes should also be treated.

comment:5 Changed 5 years ago by Saare

And also.. if the breakAfterOpen option for the pre tag was false before, the result would not be the same.

Changed 5 years ago by garry.yao

comment:6 Changed 5 years ago by garry.yao

  • Status changed from review_failed to review

comment:7 Changed 5 years ago by Saare

  • Status changed from review to review_passed

comment:8 Changed 5 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from review_passed to closed

Fixed with [5953].

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