|
@@ -595,7 +595,7 @@ def start(conn, data, title):
|
|
|
|
|
|
|
|
# return [all_table, row_style, cel_style, row, cel, table_class, num]
|
|
# return [all_table, row_style, cel_style, row, cel, table_class, num]
|
|
|
while 1:
|
|
while 1:
|
|
|
- all_table = re.search('^((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?!\|\||<\/td>).)+\n*)', table)
|
|
|
|
|
|
|
+ all_table = re.search('^((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?!\|\||<\/td>).)*\n*)', table)
|
|
|
if all_table:
|
|
if all_table:
|
|
|
all_table = all_table.groups()
|
|
all_table = all_table.groups()
|
|
|
|
|
|
|
@@ -610,7 +610,7 @@ def start(conn, data, title):
|
|
|
table = re.sub('\|\|\n$', '</td></tr></tbody></table>', table)
|
|
table = re.sub('\|\|\n$', '</td></tr></tbody></table>', table)
|
|
|
|
|
|
|
|
while 1:
|
|
while 1:
|
|
|
- row_table = re.search('\|\|\n((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?!\|\||<\/td>).)+\n*)', table)
|
|
|
|
|
|
|
+ row_table = re.search('\|\|\n((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?!\|\||<\/td>).)*\n*)', table)
|
|
|
if row_table:
|
|
if row_table:
|
|
|
row_table = row_table.groups()
|
|
row_table = row_table.groups()
|
|
|
|
|
|
|
@@ -621,7 +621,7 @@ def start(conn, data, title):
|
|
|
break
|
|
break
|
|
|
|
|
|
|
|
while 1:
|
|
while 1:
|
|
|
- cel_table = re.search('((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?:(?!\|\||<\/td>).)|\n)+\n*)', table)
|
|
|
|
|
|
|
+ cel_table = re.search('((?:\|\|)+)((?:<(?:(?:(?!>).)+)>)*)\n*((?:(?:(?!\|\||<\/td>).)|\n)*\n*)', table)
|
|
|
if cel_table:
|
|
if cel_table:
|
|
|
cel_table = cel_table.groups()
|
|
cel_table = cel_table.groups()
|
|
|
|
|
|