From 4a6ea8d4af02ac1dc851a999d4137e4aba7279e2 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Mon, 14 Apr 2025 07:15:36 +0200 Subject: [PATCH] update example Signed-off-by: Michele Dolfi --- docs/examples/export_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/export_tables.py b/docs/examples/export_tables.py index 2985127b..8f092921 100644 --- a/docs/examples/export_tables.py +++ b/docs/examples/export_tables.py @@ -40,7 +40,7 @@ def main(): element_html_filename = output_dir / f"{doc_filename}-table-{table_ix+1}.html" _log.info(f"Saving HTML table to {element_html_filename}") with element_html_filename.open("w") as fp: - fp.write(table.export_to_html()) + fp.write(table.export_to_html(doc=conv_res.document)) end_time = time.time() - start_time