Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

HTML to plain text conversion issue

  • 3 odpowiedzi
  • 1 osoba ma ten problem
  • 24 wyświetlenia
  • Ostatnia odpowiedź od Rybak

more options

When I recieve an email reply in HTML format, like this example:

text text

2014-01-01 15:27 GMT+00:00 <[email protected]>: > quoted text

and reply it in plain text format (I checked the settings to use plain text only), texts with email are duplicated. This is how it looks like then: email <mailto: email>

> 2014-01-01 15:27 GMT+00:00 <[email protected] > <mailto:[email protected]>>:

Is it a bug? Or can I fix it somehow to get back this correct format?

> 2014-01-01 15:27 GMT+00:00 <[email protected]>:

Imagine what happens when you reply this e-mail 10 times, hundreds of email addresses appear in the e-mail body.

'''When I recieve an email reply in HTML format, like this example:''' ''text text'' ''2014-01-01 15:27 GMT+00:00 <[email protected]>:'' ''> quoted text'' '''and reply it in plain text format (I checked the settings to use plain text only), texts with email are duplicated.''' '''This is how it looks like then: email <mailto: email>''' ''> 2014-01-01 15:27 GMT+00:00 <[email protected] '' ''> <mailto:[email protected]>>:'' '''Is it a bug? Or can I fix it somehow to get back this correct format?''' ''> 2014-01-01 15:27 GMT+00:00 <[email protected]>:'' '''Imagine what happens when you reply this e-mail 10 times,''' '''hundreds of email addresses appear in the e-mail body.'''

Zmodyfikowany przez Rybak w dniu

Wybrane rozwiązanie

Wszystkie odpowiedzi (3)

more options

Hmm, don't you think TB is just showing you all the HTM bloat/cruft lurking beneath the surface? Would you want it to automatically edit out any of the existing content?

Users who send HTML to you will probably not understand what they're doing wrong ( ;-) ) nor appreciate what you're doing to their messages when you reply in plain text.

Zmodyfikowany przez Zenos w dniu

more options

Well, it is usually not needed in the email when you use colors etc.

The thing is that the conversion is not correct. If I force TB to show plain text (from menu) instead of HTML and reply it, everything is perfect - but I would not see any HTML and I don't want it.

This is HTML source <a href="mailto:[email protected]" target="_blank">[email protected]</a>

And you get this when you convert it to plain text [email protected] <mailto:[email protected]>

You should get only the email back [email protected]

When the person replies back in HTML format, it converts email addresses to HTML, so there are 2 links of the same email. Then I convert it to plain text and you have 4 addresses.

I made a small test with this and sent it in HTML format <a href="mailto:[email protected]">User</a> <a href="mailto:[email protected]">[email protected]</a>

(User <mailto:[email protected]> [email protected])

First line is always converted correctly and remains the same, only the second line is duplicated into [email protected] <mailto:[email protected]>

Basically, if the "name" and email address is the same, only the email should remain which does not happen now

Zmodyfikowany przez Rybak w dniu

more options

Wybrane rozwiązanie

I see, it is reported bug already https://bugzilla.mozilla.org/show_bug.cgi?id=780365