#NEWLINE# def clean_text( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# backend . render_text ( self . cleaned_data [ 'text' ] , ( self . instance . language or self . default_language ) ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# raise ValidationError ( ( 'There is an error in the markup: %s' % e ) ) #NEWLINE# #UNINDENT# return self . cleaned_data [ 'text' ]