#NEWLINE# def paragraph( self , paragraph , prefix = '' ) : #NEWLINE# #INDENT# content = [ ] #NEWLINE# for text in paragraph . content : #NEWLINE# #INDENT# content . append ( '' . join ( text . content ) ) #NEWLINE# #UNINDENT# content = '' . join ( content ) . encode ( 'utf-8' ) #NEWLINE# for line in content . split ( '\n' ) : #NEWLINE# #INDENT# self . target . write ( ( '  ' * self . indent ) ) #NEWLINE# self . target . write ( prefix ) #NEWLINE# self . target . write ( line ) #NEWLINE# self . target . write ( '\n' ) #NEWLINE# if prefix : #NEWLINE# #INDENT# prefix = '  '