This commit is contained in:
朱昊天 2025-04-30 13:07:08 +12:00
parent d3a5c6e215
commit bb5e6b8f81

View file

@ -115,7 +115,7 @@ class _CustomMarkdownify(markdownify.MarkdownConverter):
): ):
return alt return alt
# Process data URI format images # Process data URI format images -- Update from here
if src.startswith("data:image") and not self.options.get("keep_data_uris", False): if src.startswith("data:image") and not self.options.get("keep_data_uris", False):
try: try:
# Parse MIME type # Parse MIME type