if i have the following at the start of a template:

[%- DEFAULT
  mc = 'WPJF1'
-%]
[%- IF mc == 'WPJF1' -%]
  [%- SET shipping = '4.95' -%]
[%- ELSIF mc == 'WPJF4' -%]
  [%- SET shipping = '2.95' -%]
[%- END -%]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


shouldnt this remove all whitespace and newlines proceeding the doctype line?


$template = new Template( { INCLUDE_PATH => '/ai/toppik/templates', VARIABLES => { countries => $countries, paymethods => $paymethods } } );

is the line i use instantiate the template...

I am for some reason ending up with 4 lines of whitespace preceeding the doctype line...

perhaps i am reading the documentation wrong?

begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:USA Herbals, LLC
email;internet:[EMAIL PROTECTED]
title:Tech Guru
tel;work:718-388-5424
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to