Re: Addendum/Correction to: Template output for email scripts adding extra line breaks

"Mark Fuller" <[email protected]> Tue, 18 Dec 2007 10:11:51 -0700
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On 12/16/07, Brad Baxter <[email protected]> wrote:
> A template novice might complain that HTML::Template is adding extra
> line breaks, but of course, they are right there in the template.

I'm not a template novice and I still complain about the extra line
breaks. I think it's debatable whether "they are right there in the
template."  If the lines the <tmpl_*> tags are on are not actually
(template) content, I don't see why the line ends of those lines
should be considered emitable (template) content. The fact that so
many novices find this unintuitive would indicate it's not the correct
behavior.

But, if it would burden H:T with cumbersome logic, I've always been in
favor of leaving it alone for the sake of simplicity (which I like
about H:T).

Mark

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace