diff --git a/docx/contentType.go b/docx/contentType.go index 631fa1a..10d1baf 100644 --- a/docx/contentType.go +++ b/docx/contentType.go @@ -56,6 +56,8 @@ func MIMEFromExt(extension string) (string, error) { return "image/jpeg", nil case "png": return "image/png", nil + case "svg": + return "image/svg+xml", nil case "gif": return "image/gif", nil case "bmp":