[Jifty-commit] r6060 - Template-Declare/lib/Template/Declare
Jifty commits
jifty-commit at lists.jifty.org
Mon Dec 1 23:23:24 EST 2008
Author: ruz
Date: Mon Dec 1 23:23:24 2008
New Revision: 6060
Modified:
Template-Declare/lib/Template/Declare/Tags.pm
Log:
* if buffer is not empty that doesn't meen $last is empty
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:23:24 2008
@@ -677,7 +677,7 @@
if ( length( Template::Declare->buffer->data ) ) {
# We concatenate to force scalarization when $last or $Template::Declare->buffer is solely a Jifty::Web::Link
- $buf .= '>' . Template::Declare->buffer->data;
+ $buf .= '>' . Template::Declare->buffer->data . $last;
$had_content = 1;
} elsif ( length $last ) {
$buf .= '>' . $last;
More information about the Jifty-commit
mailing list