Opened 17 years ago

Closed 17 years ago

#1089 closed Bug (fixed)

Multiple <br> tags are not rendered in a <pre> block under IE.

Reported by: Martin Kou Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: UI : Enter Key Version:
Keywords: Confirmed IE Cc:

Description

Reproduction procedure:

  1. Type some text in the editor under IE
  2. Change the text to "Formatted" in the format menu.
  3. Press Enter twice inside the formatted text.
  4. Press Enter even more, say, ten times.
  5. No matter how many times you pressed Enter, there is only one line break.
  6. Switch to Source mode, you'll notice that there are many <br> tags where you pressed Enter, but all of them translated to only one line break in WYSIWYG mode.

Change History (3)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5

Let's try to make this one for the 2.5, as it makes the <pre> almost useless.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

It seams that IE doesn't really care about <br> inside <pre>. There must be realy line breaks there to make it work.

We must check if it is possible to insert pure line breaks in IE. Also, inside a <pre>, [Enter] and [Shift]+[Enter] should have the same behavior, just adding line breaks. We should not start a new <pre> on [Enter], like we do today.

comment:3 Changed 17 years ago by Martin Kou

Resolution: fixed
Status: newclosed

Fixed with [727].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy