Hi,
I've upgraded four sites to Evo 1.0.13, which upgrades eFrom to 1.4.5. On all the sites I've noticed a problem with the contact forms now displaying br tags in sent emails, instead of new lines.
For example, I have a form with the following report tpl:
<p>This is a response sent by [+names+] using the contact form on your website:</p>
<table>
<tr valign="top"><td>Name:</td><td>[+names+]</td></tr>
<tr valign="top"><td>Email:</td><td>[+email+]</td></tr>
<tr valign="top"><td>Phone:</td><td>[+phone+]</td></tr>
<tr valign="top"><td>Enquiry:</td><td>[+enquiry+]</td></tr>
</table>
<p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>
The form then outputs emails in the form:
This is a response sent by Person Name using the contact form on your website:
Name: Person Name
Email: [email protected]
Phone: +44 12345 123123
Enquiry: Hi, <br /> <br />This is a test email using the form on the website. <br /> <br />Your sincerely, <br />Person Name
You can use this link to reply: [email protected]
In the html source for the email the code for the tables is fine, but the br tags have been converted to & l t ; br / & g t ; & l t ;
This isn't an issue for me on my personal sites, but for clients it would be nicer to display the line breaks correctly.
Can anyone please advise if this is a bug, or perhaps a security feature, in the upgraded version of eForm?
Many thanks