On 11 May 2004, at 21:19, Keith Jackson wrote:


During previous discussions on this the suggestion was used to use tidy
in some way.

running the template output through HTML::Tidy in some way is a no-brainer...


 Obviously in HTML the whitespace is fairly harmless, but
for an email template or using H::T for something other then HTML the
whitespace makes a big difference.

as is s/\n\n/\n/g !



So I throw my vote in for a flag to include or not include the LF with certain H::T tags.

Ok, I'll buy this. Template::Toolkit has a variety of options for including
or not whitespace after tags, either in the configs, or at the tag level,
closing with -%].



-- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock bands



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to