[text/plain 544b]
DEFBLOCKS need the same fix that the BLOCK got in
http://rt.cpan.org/Public/Bug/Display.html?id=46269, to avoid
indenting #line directives:
--- lib/Template/Document.pm.orig 2009-06-17 13:44:24.000000000 +1000
+++ lib/Template/Document.pm 2009-06-17 04:58:45.000000000 +1000
@@ -236,7 +236,7 @@
$defblocks = join('', map {
my $code = $defblocks->{ $_ };
- $code =~ s/\n/\n /g;
+ $code =~ s/\n(?!#line)/\n /g;
$code =~ s/\s*$//;
" '$_' => $code,\n";
} keys %$defblocks);
[application/octet-stream 404b]