#NEWLINE# def parse_tag( self , m ) : #NEWLINE# #INDENT# text = m . group ( 0 ) #NEWLINE# lower_text = text . lower ( ) #NEWLINE# if lower_text . startswith ( '<a ' ) : #NEWLINE# #INDENT# self . _in_link = True #NEWLINE# #UNINDENT# if lower_text . startswith ( '</a>' ) : #NEWLINE# #INDENT# self . _in_link = False #NEWLINE# #UNINDENT# self . renderer . tag ( text )