Skip to content

Commit 50efdfd

Browse files
committed
Add SVG Mime Type
1 parent e4fe099 commit 50efdfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wireviz/svgembed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pathlib import Path
66
from typing import Union
77

8-
mime_subtype_replacements = {"jpg": "jpeg", "tif": "tiff"}
8+
mime_subtype_replacements = {"jpg": "jpeg", "svg": "svg+xml", "tif": "tiff"}
99

1010

1111
# TODO: Share cache and code between data_URI_base64() and embed_svg_images()

0 commit comments

Comments
 (0)