This is what my php script outputs (sans the actual link)
<div style="font-size: 14px; color: #333333; margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;">
<strong>Activitate</strong>: <a href="link">tip test2</a> <br>
<strong>Data inregistrarii</strong>: 23.11.2012 11:26:57<br>
<strong>Data scadenta</strong>: 23.11.2012<br>
<strong>Descriere</strong>: test
</div>
and this (imgur link) is how gmail renders it. Is there any way to prevent it form doing so? It’s breaking up the div and adding a purple color to the text.
GMail adds purple color to the text it detects as a quote from the previous email in the conversation. In more extreme cases, it even adds a collapse/expand element (as noted here: http://support.google.com/mail/bin/answer.py?hl=en&answer=1357852&ctx=cbo&cbid=27218276&cbrank=1#reading).
Normally, you should not worry about it, nor I think you can prevent that except by not sending the same text every time.