docs: fix regexp for base64 images for llms-full (#3834)

This commit is contained in:
Eugene Yurtsev
2025-03-13 15:32:09 -04:00
committed by GitHub
parent 190b42850f
commit baedf91836
+1 -1
View File
@@ -186,7 +186,7 @@ def _on_page_markdown_with_config(
if remove_base64_images:
# Remove base64 encoded images from markdown
markdown = re.sub(r"!\[.*?\]\(data:image/+;base64,[^\)]+\)", "", markdown)
markdown = re.sub(r"!\[.*?\]\(data:image/[^;]+;base64,[^)]+\)", "", markdown)
return markdown