Unable to convert HTML to Markdown (#1072)
* feat: issue where inherited function from `markdownify.MarkdownConverter` doesn't have `current_tags` leading to error using `kwargs`, also set default value for `convert_as_inline`
This commit is contained in:
@@ -84,7 +84,9 @@ def main():
|
||||
)
|
||||
elif args.filename is None:
|
||||
raise ValueError("Filename is required when using Document Intelligence.")
|
||||
markitdown = MarkItDown(exiftool_path=which_exiftool, docintel_endpoint=args.endpoint)
|
||||
markitdown = MarkItDown(
|
||||
exiftool_path=which_exiftool, docintel_endpoint=args.endpoint
|
||||
)
|
||||
else:
|
||||
markitdown = MarkItDown(exiftool_path=which_exiftool)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user