mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Fix SVG mime type (image/svg+xml)
In PR #298, I was using image/svg for the MIME type for SVG image. This is in fact image/svg+xml. Sorry for that.
This commit is contained in:
parent
c0856327b3
commit
db82c79f20
1 changed files with 1 additions and 1 deletions
|
|
@ -819,7 +819,7 @@ var bPng = []byte("png;")
|
||||||
var bGif = []byte("gif;")
|
var bGif = []byte("gif;")
|
||||||
var bJpeg = []byte("jpeg;")
|
var bJpeg = []byte("jpeg;")
|
||||||
var bWebp = []byte("webp;")
|
var bWebp = []byte("webp;")
|
||||||
var bSvg = []byte("svg;")
|
var bSvg = []byte("svg+xml;")
|
||||||
var bJs = []byte("javascript:")
|
var bJs = []byte("javascript:")
|
||||||
var bVb = []byte("vbscript:")
|
var bVb = []byte("vbscript:")
|
||||||
var bFile = []byte("file:")
|
var bFile = []byte("file:")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue