Closed Bug 153858 Opened 22 years ago Closed 22 years ago

Tabular data should be retained when copying from Mozilla to Notepad

Categories

(Core :: DOM: Serializers, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 94176

People

(Reporter: bamm, Assigned: harishd)

Details

When tabular data is selected and copied from mozilla and pasted into
a text editor such as Notepad, all the data is placed in one line!

In the following URL, for example:
http://www.astroarts.com/phenomena/2002/ph200207.shtml

If you select just the calendar (not the entire page), then copy and
paste this into any text editor in Windows, here are the results:

1) Table cells are separated by 2 spaces
2) Table rows are separated by 5 spaces

On the other hand, here are the expected results:

1) Table cells are separated by tabs (Bug 141862)
2) Table rows are separated by CRLF (Can't find a bug)

Note that selecting the entire web page (Ctrl+A) and pasting it
produces a different result. This time, rows do get separated by
CRLF's but cells only get separated by 1 space instead of 2.

If this is solved, then you also solve the problem of copying
tabular data into Excel (Bug 137450) which properly recognizes
tab-delineated data as something it can read.

In other words, Mozilla should convert tables into tab-separated
format when copying them to the clipboard.
as tha separation of cells is covered by bug 141862, the remaining problem is
only CR/LF between rows, and that is bug 94176
  Text copied from table with multiple rows has no CR/LF

*** This bug has been marked as a duplicate of 94176 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
bulk verification.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.