Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Line breaks get removed in shipment comments Rate Topic   - - - - -

 
  • japanexp
  • Advanced Member
  • Members
  • Join Date: 02-Nov 13
  • 131 posts

Posted 11 December 2013 - 08:45 AM #1

Hi, the shipment comment field removes the line breaks in the email that is sent to the customer.

If you insert text like this:

Para 1

Para 2

Para 3

the email will read

Comments: Para 1 Para 2 Para 3

The comment is in the database with line breaks and the responsible template /design/themes/basic/mail/templates/shipments/shipment_products.tpl does not seem to make any amendments to the text.

{if $shipment.comments}
<br /><br />
<strong>{__("comments")}</strong>:
{$shipment.comments}
{/if}

Any idea where the line breaks might be filtered out?