Added more tests and fixed formats to work correctly w/multiple templates.
[p5sagit/Excel-Template.git] / lib / Excel / Template / Container / Format.pm
index 6548b28..9e7da80 100644 (file)
@@ -17,7 +17,7 @@ sub render
     my ($context) = @_;
 
     my $old_format = $context->active_format;
-    my $format = Excel::Template::Format->copy(
+    my $format = $context->format_object->copy(
         $context, $old_format,
 
         %{$self},