Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Ce sujet de discussion a été fermé et archivé. Veuillez poser une nouvelle question si vous avez besoin d’aide.

Problem with HTML code in a message

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Toutes les réponses (1)

more options