Add SVG Mime Type

This commit is contained in:
Michael 2025-01-22 15:45:00 -06:00
parent e4fe099f8c
commit 50efdfd4c1
No known key found for this signature in database
GPG Key ID: 63FBE98417C278D2

View File

@ -5,7 +5,7 @@ import re
from pathlib import Path from pathlib import Path
from typing import Union from typing import Union
mime_subtype_replacements = {"jpg": "jpeg", "tif": "tiff"} mime_subtype_replacements = {"jpg": "jpeg", "svg": "svg+xml", "tif": "tiff"}
# TODO: Share cache and code between data_URI_base64() and embed_svg_images() # TODO: Share cache and code between data_URI_base64() and embed_svg_images()