move additional markup to begining
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 16 Nov 2009 19:15:00 +0000 (20:15 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 16 Nov 2009 19:15:00 +0000 (20:15 +0100)
lib/HTML5TV/hCalendar.pm

index 3e87e7f..c922954 100644 (file)
@@ -50,7 +50,7 @@ sub as_HTML {
        my $self = shift;
        my $el = shift;
        my $vevent = $self->{tree}->look_down( class => 'vevent' )
-               ->push_content( $el )
+               ->unshift_content( $el )
                ->as_HTML('<>&')
        ;
 }