diff --git a/src/markdown_lib/common.py b/src/markdown_lib/common.py index 805f5da..8335e88 100644 --- a/src/markdown_lib/common.py +++ b/src/markdown_lib/common.py @@ -310,7 +310,7 @@ def html_to_markdown(text_html: bytes | str, custom_filter: list | None = None): format=INTERMEDIATE_FORMAT, extra_args=[ # don't create artificial line breaks - "--wrap=none", + "--wrap=preserve", ], ) if "[TABLE]" in text_md: @@ -340,7 +340,7 @@ def markup_to_markdown( # somehow the temp folder is needed to create the resources properly f"--extract-media={resource_folder}", # don't create artificial line breaks - "--wrap=none", + "--wrap=preserve", ], ) diff --git a/test/data b/test/data index 8aa9158..11c06b2 160000 --- a/test/data +++ b/test/data @@ -1 +1 @@ -Subproject commit 8aa9158ec7ef55c3f6180ce4c98fac9ed36c47d3 +Subproject commit 11c06b20deb3e25df8aedef692733a85b2677c1a