Closed Bug 301480 Opened 19 years ago Closed 15 years ago

Copy & paste of lists with paragraphs causes unnecessary newlines to appear.

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: hans, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Given the following code (see "Examples" at
http://docbook.org/tdg/en/html-ng/itemizedlist.html):

<ul type="opencircle"><li style="list-style-type: circle"><p>
TeX and LaTeX
</p></li><li style="list-style-type: disc"><p>
Troff
</p></li><li style="list-style-type: circle"><p>
Lout
</p></li></ul>

Because of the paragraphs, when one copy&paste the generated text from the
browser to an ascii editor, the following appear:

    *

      TeX and LaTeX
    *

      Troff
    *

      Lout

There are to many newlines.  One would expect:

    * TeX and LaTeX
    * Troff
    * Lout

In other words, the first paragraph in list items should not generate any
newlines when being copied to the clipboard.

Reproducible: Always

Steps to Reproduce:
See details.


Actual Results:  
See details.

Expected Results:  
See details.
I can confirm that the above behaviour still occurs with a recent Firefox build.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Version: unspecified → 1.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
You need to log in before you can comment on or make changes to this bug.