[Catalyst] Catalyst::View::TT

Bill Moseley moseley at hank.org
Tue Nov 14 00:02:15 GMT 2006


On Tue, Nov 14, 2006 at 09:38:04AM +1000, Ivan Wills wrote:
> PS I do use [%- and -%] they make no difference, it is something that 
> Catalyst is adding the blank lines as the same templates processed 
> directly by Template Toolkit do not produce the initial blank  lines.

If you don't want to track down every template that might be
introducing leading blank lines, then how about removing the leading
space from $c->res->body for that specific $c->res->conent_type in an
end action?

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list