Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Dieses Thema wurde geschlossen und archiviert. Bitte stellen Sie eine neue Frage, wenn Sie Hilfe benötigen.

Problem with HTML code in a message

  • 1 Antwort
  • 1 hat dieses Problem
  • 1 Aufruf
  • Letzte Antwort von Matt

more options

Hi everyone,

i'm trying to send an HTML table in a email using python, but everything is okey with that (i said it just to give info). This is the text of an example email i send with python (printed just before to be sent):

TABLE

COLUMN1COLUMN2
DATA1<a href=webexample.com>DATA2</a>
</br>

Everything is okey already but, when i read with Thunderbird some emails with tables, this tables are corrupted BY A WHITESPACE that wasn't at first in the html email code. As i seen, it happens when some tag like <td> is at the end of a html line and Thunderbird write the first half of the tag in one line and A WHITESPACE WITH THE OTHER HALF PART in the other line. Here is an example from the font code of an email in Thunderbird:

TABLE

<
COLUMN1COLUMN2
DATA1
Hi everyone, i'm trying to send an HTML table in a email using python, but everything is okey with that (i said it just to give info). This is the text of an example email i send with python (printed just before to be sent): <h1>TABLE</h1><table border="1"><tr><th>COLUMN1</th><th>COLUMN2</th></tr><tr><td>DATA1</td><td><a href=webexample.com>DATA2</a></td></table></br> Everything is okey already but, when i read with Thunderbird some emails with tables, this tables are corrupted BY A WHITESPACE that wasn't at first in the html email code. As i seen, it happens when some tag like <td> is at the end of a html line and Thunderbird write the first half of the tag in one line and A WHITESPACE WITH THE OTHER HALF PART in the other line. Here is an example from the font code of an email in Thunderbird: <h1>TABLE</h1><table border="1"><tr><th>COLUMN1</th><th>COLUMN2</th></tr><tr><td>DATA1</td>< td><a href=webexample.com>DATA2</a></td></table></br> As you can see, there is a whitespace at the start of the second line, corrupting the row of the table. Why this happen? Thank you.

Alle Antworten (1)

more options