Skip to content

Commit

Permalink
Replace br tags
Browse files Browse the repository at this point in the history
  • Loading branch information
VikParuchuri committed Jan 24, 2025
1 parent fb4da2b commit 7ab4e92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/table/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def main(
for th_tag in marker_table_soup.find_all('th'):
th_tag.name = 'td'
marker_table_html = str(marker_table_soup)
marker_table_html = marker_table_html.replace("<br>", " ") # Fintabnet uses spaces instead of newlines
marker_table_html = marker_table_html.replace("\n", " ") # Fintabnet uses spaces instead of newlines
gemini_table_html = gemini_table.replace("\n", " ") # Fintabnet uses spaces instead of newlines

Expand Down

0 comments on commit 7ab4e92

Please sign in to comment.