[Jifty-commit] r6061 - Template-Declare/lib/Template/Declare

Jifty commits jifty-commit at lists.jifty.org
Mon Dec 1 23:31:03 EST 2008


Author: ruz
Date: Mon Dec  1 23:31:03 2008
New Revision: 6061

Modified:
   Template-Declare/lib/Template/Declare/Tags.pm

Log:
* we have to post process anything but Tags

Modified: Template-Declare/lib/Template/Declare/Tags.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/Tags.pm	(original)
+++ Template-Declare/lib/Template/Declare/Tags.pm	Mon Dec  1 23:31:03 2008
@@ -672,7 +672,7 @@
         local $TAG_NEST_DEPTH = $TAG_NEST_DEPTH + 1;
         %ATTRIBUTES = ();
         Template::Declare->new_buffer_frame;
-        my $last = join '', map { ref($_) ? $_ : _postprocess($_) } $code->();
+        my $last = join '', map { ref($_) && $_->isa('Template::Declare::Tag') ? $_ : _postprocess($_) } $code->();
 
         if ( length( Template::Declare->buffer->data ) ) {
 


More information about the Jifty-commit mailing list