fix: markdown proc will remove image (#5855)

This commit is contained in:
tangyoha 2024-07-12 20:07:22 +08:00 committed by GitHub
parent c564f32ab6
commit 0cbbaf3f68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,8 +18,8 @@ class MarkdownExtractor(BaseExtractor):
def __init__( def __init__(
self, self,
file_path: str, file_path: str,
remove_hyperlinks: bool = True, remove_hyperlinks: bool = False,
remove_images: bool = True, remove_images: bool = False,
encoding: Optional[str] = None, encoding: Optional[str] = None,
autodetect_encoding: bool = True, autodetect_encoding: bool = True,
): ):