def convert_table(self, markup):
for table in re.findall(self.re["<STR_LIT>"], markup):<EOL><INDENT>wiki = table<EOL>wiki = re.sub(r"<STR_LIT>", "<STR_LIT>", wiki)<EOL>wiki = re.sub(r"<STR_LIT>", "<STR_LIT>", wiki)<EOL>wiki = re.sub(r"<STR_LIT>", "<STR_LIT>", wiki)<EOL>wiki = wiki.replace("<STR_LIT>", "<STR_LIT:\n>")<EOL>wiki = wiki.replace("<STR_LIT>", "<STR_LIT:\n>")<EOL>wiki = wiki.replace("<STR_LIT>", "<STR_LIT>")<EOL>markup = markup.replace(table, wiki)<EOL><DEDENT>return markup<EOL>
Subtitutes <table> content to Wikipedia markup.