extra newline on converting from HTML to TEXT




15 years ago
6 years ago


(Reporter: BijuMailList, Unassigned)


Windows XP

Firefox Tracking Flags

(Not tracked)



(2 attachments)

176 bytes, text/html
774 bytes, text/html


15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030721 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030721 Mozilla Firebird/0.6

extra newline on converting from HTML to TEXT
This problem occures in many cases.

And the major issue is when converting an HTML mail received 
from MS-Outlook to text mail, while replying.

Also happens when copying a web page and pasting to notepad.

To test this I am providing two html files.

Attachment a.html
1. open attachment a.htm
2. Select whole page.
3. Selection will show only 3 lines in the document
4. Copy it
5. paste it in notepad

actual result:-
  you will 2 blank lines between a & b 

expected result:-
  there should be only one blank lines between a & b 

Attachment b.html
This is an extract from mail received from outlook, 
issue is seviour here because outlook add an unnessrey tag <o:p></o:p>
contents of this is not added by user while typing mail in outlook.
so outlook hide this while displaying mail.  
But in mozilla we get 2 more extra line due to this.  

Reproducible: Always

Steps to Reproduce:

Comment 1

15 years ago
Created attachment 128340 [details]

a.html - simple document

Comment 2

15 years ago
Created attachment 128341 [details]

An extract from mail i received from MS Outlook

This is the case where I have more consern


15 years ago
Attachment #128341 - Attachment mime type: text/plain → text/html
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/

Comment 4

13 years ago
Still occurs

Steps to reproduce.
1. In thunderbird set your mail option to TEXT mode
2. Ask your friend who is using outlook to send HTML mail to you
3. Receive it in thunderbird
4. Reply with quote
5. user see extra lines, when there is a line break


12 years ago
Ever confirmed: true
Assignee: harishd → nobody
QA Contact: sujay → dom-to-text

Comment 5

6 years ago
Probably this is a duplicate of bug 351814.
You need to log in before you can comment on or make changes to this bug.