def handle_data(self, data):
if not self.silent:<EOL><INDENT>possible_urls = re.findall(<EOL>r'<STR_LIT>', data)<EOL>if possible_urls and self.automatic_link_transformation:<EOL><INDENT>for url in possible_urls:<EOL><INDENT>if regex_url.search(url):<EOL><INDENT>transformed_url = '<STR_LIT>' % (url, url)<EOL>data = data.replace(url, transformed_url)<EOL><DEDENT><DEDENT>self.result += data<EOL><DEDENT>else:<EOL><INDENT>self.result += cgi.escape(data, True)<EOL><DEDENT><DEDENT>
Function called for text nodes