#NEWLINE# def transform_options( self , options ) : #NEWLINE# #INDENT# '\n        Delete takes only one caption, get only one element\n        from the list for better readability.\n        ' #NEWLINE# if ( ( '<caption>' in options ) and ( len ( options [ '<caption>' ] ) > 0 ) ) : #NEWLINE# #INDENT# options [ '<caption>' ] = options [ '<caption>' ] [ 0 ]