#NEWLINE# def load( self , ctx = None , preprocessors = ( ) ) : #NEWLINE# #INDENT# assert ( not preprocessors ) , 'preprocessors not supported by htmlstr' #NEWLINE# if ( self . _cache is None ) : #NEWLINE# #INDENT# doc = microdom . parseString ( self . template , beExtremelyLenient = preprocessors . beExtremelyLenient ) #NEWLINE# doc = flat . precompile ( doc , ctx ) #NEWLINE# if ( self . pattern is not None ) : #NEWLINE# #INDENT# doc = inevow . IQ ( doc ) . onePattern ( self . pattern ) #NEWLINE# #UNINDENT# self . _cache = doc #NEWLINE# #UNINDENT# return self . _cache