This commit is contained in:
yeungadrian 2025-01-04 13:17:43 +00:00
parent bbacf89b53
commit 1c0362f375

View file

@ -731,7 +731,6 @@ class ExcelConverter(HtmlConverter):
md_content = "" md_content = ""
for s in workbook.sheet_names: for s in workbook.sheet_names:
sheet = workbook.get_sheet_by_name(s) sheet = workbook.get_sheet_by_name(s)
# TODO: Add argument to allow filtering empty row / columns
tabular_data = sheet.to_python(skip_empty_area=False) tabular_data = sheet.to_python(skip_empty_area=False)
md_content += f"## {s}\n" md_content += f"## {s}\n"
html_content = tabulate(tabular_data, tablefmt="html") html_content = tabulate(tabular_data, tablefmt="html")