I am trying to send HTML email to GMail. But GMail is internally wrapping up Html of my email with pre tag.
For ex: my email contains below html
<html>
<body>
<table>
<tr>
<td> TEST 1 </td>
<tr>
</table>
<table>
<tr>
<td> TEST 2 </td>
<tr>
</table>
</body>
But Gmail translates this html in different way as shown below
<pre><table>
<tr>
<td> TEST 1 </td>
<tr>
</table>
<table>
<tr>
<td> TEST 2 </td>
<tr>
</table></pre>
Can anyone help me, how does this PRE tag gets added in GMail?
The problem with this pre tag is that it has got some styles coming up from gmail that breaks the look and feel of my email. Below is the CSS.
.gs pre {
white-space: pre-wrap;
}
Also, Is there a way to override the above CSS to change the value of 'white-space' to 'initial' instead of 'pre-wrap'? If this is possible, my issue will be resolved.
Any help on my above doubts is really appreciated.