#NEWLINE# def post_process( self , rendered_text , **kwargs ) : #NEWLINE# #INDENT# match = re . search ( '<!-- start doc -->\\s*(.+)\\s*<!-- end doc -->' , rendered_text , ( ( re . DOTALL | re . IGNORECASE ) | re . MULTILINE ) ) #NEWLINE# if ( rendered_text is not None ) : #NEWLINE# #INDENT# rendered_text = match . group ( 1 ) #NEWLINE# #UNINDENT# return rendered_text