Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / No line breaks in Contact Us email customer inputted text

No line breaks in Contact Us email customer inputted text

Views: 555

Results 1 to 1 of 1
26 Jan 2013, 1:42 PM
#1
emmo1234 avatar

emmo1234

New Zenner

Join Date:
Nov 2012
Posts:
7
Plugin Contributions:
0

No line breaks in Contact Us email customer inputted text

Hi,

I have attempted to make my template e-mails more Outlook 2010-friendly by changing them into very basic tables and I am probably missing something glaringly obvious, but I simply can't work out how to get a line break showing in the $EMAIL_MESSAGE_HTML customer-inputted text section of the email where the customer includes a carriage return in the text input box on the store. My amended email_template_contact_us.html code is below.

[HTML]<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$CHARSET" />
<base href="$BASE_HREF" />

<style type="text/css">
body {background-color:#ffffff;}
a:link {color:#EA3B81;}
a:hover {color:#EA3B81;}
a:visited {color:#EA3B81;}
</style>

</head>

<body>
<table cellspacing="5" cellpadding="5" border="0" style="font-family:Georgia, 'Times New Roman', Times, serif; font-size:12px; color:#3A3A3A;" align="left">
<tr>
<td width="550" align="left">
 <img src="email/header.jpg" alt="logo" />
</td>
</tr>
<tr>
<td width="550" align="left">$CONTACT_US_OFFICE_FROM<hr /></td>
</tr>
<tr>
<td width="550" align="left"></br></br>$EMAIL_MESSAGE_HTML</td>
</tr>
<tr>
<td width="550" align="left"></br></br>$EMAIL_FOOTER_COPYRIGHT</td>
</tr>
<tr>
<td width="550" align="left">$EMAIL_DISCLAIMER</td>
</tr>
<tr>
<td width="550" align="left">$EMAIL_SPAM_DISCLAIMER</td>
</tr>
<tr>
<td width="550">
<table style="background-color:#CEDAE8; font-family:Georgia, 'Times New Roman', Times, serif; font-size:11px; color:#3A3A3A;">
<tr>
<td width="550">
$EXTRA_INFO
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
```\[/HTML]

If anyone could tell me how this would be possible, I would be very relieved!