Description

If you try to paste data with line breaks from an ANSI (windows) text file to the GUI editor over Internet Explorer, it breaks the table. (For Firefox it is not happening!) The problem seems to depend on the new line (CR LF or LF CR). The GUI in Firefox converts to <<BR>> which is correct, but it is not converting with the GUI with IE. It seems to be a little flaw (causing big results), because as i extensively tested this problem i found that after pressing the Preview button twice and after that saving it only, corrupts only the next row (it creates next row like i would begin a new table)

Steps to reproduce

  1. Write some text in Notepad, with enter between two or more lines
  2. Put it on the clipboard
  3. Paste it into a Table (with IE, and with Firefox) GUI
  4. Check the result (even with preview... or you can save it...)

Example

||<tablewidth="100%">Row 1: ||This is a test text created in notepad.
This is a new line pasted in the table. It corrupts the table if i do it from IE, but not from Firefox... ||

||<tablewidth="100%">Row 1: ||This is a test text created in notepad. This is a new line pasted in the table. It corrupts the table if i do it from IE, but not from Firefox... ||

If you press twice the Preview before save this will be created (few extra line brakes between the row of the same table, but impossible to correct it from the GUI):

||Row 1 || ||
||Row 2 || ||


||Row 3 ||This is a test text created in notepad. This is a new line pasted in the table. It corrupts the table if i do it from IE, but not from Firefox... ||

Row 1

Row 2

Row 3

This is a test text created in notepad. This is a new line pasted in the table. It corrupts the table if i do it from IE, but not from Firefox...

Component selection

Details

MoinMoin Version

1.8.1

OS and Version

Debian Linux 2.6.18-6-686 #1 SMP i686 GNU/Linux

Python Version

2.4.4

Server Setup

Server Details

not default wiki data place to /var/wikiname

Language you are using the wiki in (set in the browser/UserPreferences)

english/german

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/PasteBreaksTableInIExplorer (last edited 2009-01-27 10:37:24 by proxy22-ic-ext)