def handle_endtag(self, tag):
if tag.lower() in self.allowed_tag_whitelist:<EOL><INDENT>if tag.lower() in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>self.previous_type_lists = self.previous_type_lists[:-<NUM_LIT:1>]<EOL>if tag.lower() == '<STR_LIT>':<EOL><INDENT>self.nb = self.previous_nbs[-<NUM_LIT:1>]<EOL>self.previous_nbs = self.previous_nbs[:-<NUM_LIT:1>]<EOL><DEDENT>self.result = self.result.rstrip()<EOL>self.result += '<STR_LIT:\n>' + self.line_quotation<EOL><DEDENT><DEDENT>
Function called for ending of tags