#NEWLINE# def render_tag( self , context , name , postprocessor , nodelist ) : #NEWLINE# #INDENT# if ( not validate_context ( context ) ) : #NEWLINE# #INDENT# return nodelist . render ( func ) #NEWLINE# #UNINDENT# rendered_contents = nodelist . render ( context ) #NEWLINE# varname = get_varname ( ) #NEWLINE# data = '\n' . join ( context [ varname ] [ name ] ) #NEWLINE# if postprocessor : #NEWLINE# #INDENT# func = import_processor ( postprocessor ) #NEWLINE# data = func ( context , data , name ) #NEWLINE# #UNINDENT# return ( '%s\n%s' % ( data , rendered_contents ) )