[Catalyst] ~very~ minor difficulty with Catalyst::Helper::View::TTSite

Eric W. Bates ericx at vineyard.net
Tue Jun 20 16:27:28 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As part of Catalyst::View::TT 0.22

config/main is set as the pre-processor.

config/main processes config/col and config/url;

config/col is missing a dash '-' before the final TT delimiter '%]'

This easily remedied oversight causes an blank line to be output before
the DOCTYPE declaration at the beginning of your HTML.  This might not
be a problem for HTML 4.x (not sure); but it is an error if you are
trying to use XHTML.

I have PRE_CHOMP on; but I believe there is no problem with leading
whitespace.

Excuse me for reporting this to the list.  Don't really know how things
are done around here.

- --
Eric W. Bates
ericx at vineyard.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmAXQD1roJTQ4LlERAq1qAKCmtSpVtqjCuSRvZeTSNV73YgiBpACcCXuT
nZYmu0h++FqHb4XoRlWSR2M=
=Zu9K
-----END PGP SIGNATURE-----



More information about the Catalyst mailing list