Add SVG Mime Type
This commit is contained in:
parent
e4fe099f8c
commit
50efdfd4c1
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user