def handle_data(self, data):
<EOL>if self.lasttag not in self.ignored_elements:<EOL><INDENT>text = data.replace('<STR_LIT:\n>', '<STR_LIT>')<EOL>if text:<EOL><INDENT>if self.lasttag == '<STR_LIT>':<EOL><INDENT>self.text += '<STR_LIT>'<EOL><DEDENT>self.text += text<EOL>if self.lasttag in self.newline_after_elements:<EOL><INDENT>self.text += '<STR_LIT:\n>'<EOL><DEDENT><DEDENT><DEDENT>
Handles data between tags.