Short version: Copy and paste adds spaces at start of line.


The changes I reported in my previous post mean that I now have a
Mozilla which does not wrap HTML source (unless each paragraph has more
than 55555 characters!) and in which the View HTML Source does not wrap
the lines either.  But I think this will help little, since whitespace
trouble arises from many sources, not just wrapping of HTML lines when
saving to a file.

In my addition to http://bugzilla.mozilla.org/show_bug.cgi?id=61228 , I
show how copy and paste adds a space at the start of many lines of
text.  This works with Win98 2000112908, but I think is almost certainly
a cross-platform problem:

  Open new Composer page.

  Type"0000" and then Enter.
  Type"1111" and then Enter.
  Type"2222" and then Enter, Enter and Enter.

  Control A to select all.  
  Control C to copy to clipboard.
  Down arrow to remove selection.
  Contol V, Control V, Control V.

Now save the file.  The results look good on screen and in a browser,
but the file contains unwanted spaces of the type which will later cause
whitespace trouble for Composer.

Copy and paste evidently does something to the data!

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
  <title>!</title>
</head>
<body>
0000<br>
1111<br>
2222<br>
<br>
<br>
0000<br>
 1111<br>              
 2222<br>
<br>
<br>
<br>
0000<br>
 1111<br>
 2222<br>
<br>
<br>
<br>
0000<br>
 1111<br>
 2222<br>
<br>
<br>
<br>
<br>
</body>
</html>

Every use of View HTML Source will add a space to all those body lines,
except those containing only a <br>.

I look forward to all these troubles being fixed!


  - Robin

Reply via email to