[Templates] plugins... data returned... newline?
[prev]
[thread]
[next]
[Date index for 2005/04/13]
This is a multi-part message in MIME format.
--------------070800060604040200090302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Need a quick explanation of something...
we have a custom plugin that creates content so that...
[% plugin.return_stuff(); -%]
returns data for tt2 to output
if dump the data to a tmp file before return_stuff actually returns the
data...
it is fine
however, tt2 is adding an extra \n at the end
so if we had
[% plugin.return_stuff(); -%]
AAA
and retrun stuff should just return '111'
we end up with
111
AAA
instead of
111
AAA
any ideas on where this extra newline is coming from and how i can
prevent its addition greatly appreciated...
--------------070800060604040200090302
Content-Type: text/x-vcard; charset=utf-8;
name="sean.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="sean.vcf"
begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:Ardis Marketing Group
adr;dom:;;;New York;NY
email;internet:sean@xxxxxxx.xxx
title:Tech Guru
x-mozilla-html:FALSE
url:http://ardismg.com/
version:2.1
end:vcard
--------------070800060604040200090302--
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] plugins... data returned... newline?
Sean T Allen 19:00 on 13 Apr 2005
|