Page 1 of 1

Formatting in Message Template

PostPosted: Sat May 20, 2006 7:30 am
by Jeff
I am trying to create a standard footer message using the message template. After creating the template and saving it, all formatting character's (I.E. Carriage Returns) are stripped. I know I could get around this if I sent the messages in HTML, but I prefer to use plain text. Is there a way to embed the formatting character's in the message template?

PostPosted: Sat May 20, 2006 1:39 pm
by Admin-BS
This seems to be a bug... but... there appears to be an easy fix.

Search subscriber.cgi for "sub message" and find the following line:
Code: Select all
$message_template =~ s/\n//g;


Comment it out (add a # in front of it), or just delete the line. Then, repeat this in the subroutine named "edit" (search for "sub edit"), and try it again (this second step fixes it in the variable editing screen). This should get rid of that problem.

I'm currently questing myself as to why that line was there in the first place, and I can't think of any reason...