-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Closed as not planned
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-emailtype-featureA feature request or enhancementA feature request or enhancement
Description
Bug report
Bug description:
When there is lots of
<tr>
<td>36</td>
<td>16</td>
<td>-56%</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
</tr>
(i make this code dynamically, which sometimes lead to very big table/code, in that case the issue arise)
like this, then sometimes in <td>
or <tr>
tag render like this (< td> < tr>
, put space unexpectedly) and the table breaks in the email body.
Note: i am using a little inline css in table:
<html lang='en'>
<head><meta charset='UTF-8'></head>
<body><table border=1 bordercolor='black' cellspacing=0 cellpadding=5> <tr>
and
msg.attach(MIMEText(html, 'html'))
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-emailtype-featureA feature request or enhancementA feature request or enhancement