Merge 3e7f1cea19 into 041be54471
This commit is contained in:
commit
36ae2f8111
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ class XlsxConverter(DocumentConverter):
|
|||
md_content = ""
|
||||
for s in sheets:
|
||||
md_content += f"## {s}\n"
|
||||
html_content = sheets[s].to_html(index=False)
|
||||
html_content = sheets[s].to_html(index=False, na_rep="")
|
||||
md_content += (
|
||||
self._html_converter.convert_string(
|
||||
html_content, **kwargs
|
||||
|
|
@ -146,7 +146,7 @@ class XlsConverter(DocumentConverter):
|
|||
md_content = ""
|
||||
for s in sheets:
|
||||
md_content += f"## {s}\n"
|
||||
html_content = sheets[s].to_html(index=False)
|
||||
html_content = sheets[s].to_html(index=False, na_rep="")
|
||||
md_content += (
|
||||
self._html_converter.convert_string(
|
||||
html_content, **kwargs
|
||||
|
|
|
|||
Loading…
Reference in a new issue