#NEWLINE# def get_spacer( first , result ) : #NEWLINE# #INDENT# if first : #NEWLINE# #INDENT# spacer = ( '<span class="spacer">&nbsp;</span>' * ( result . get_depth ( ) - 1 ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# spacer = '' #NEWLINE# #UNINDENT# return spacer