Jump to content

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

replace:"\n":"<br />"} Rate Topic   - - - - -

 
  • Hoko
  • Member
  • Members
  • Join Date: 26-Mar 11
  • 101 posts

Posted 26 September 2013 - 04:28 PM #1

{$send_data.notes|replace:"\n":"<br />"}

Why this replace:"\n":"<br />" don't work in 4.x?
All content in textarea are display inline block in my email

Any help?

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11248 posts

Posted 27 September 2013 - 01:00 AM #2

You might try {$send_data.notes|nlbr} instead. Not familiar with the smarty replace modifier

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Hoko
  • Member
  • Members
  • Join Date: 26-Mar 11
  • 101 posts

Posted 11 October 2013 - 07:49 PM #3

Solution:

remove the {strip} text {/strip} from your textarea

and change to {$send_data.notes|replace:"\n":"<br />" nofilter}