Changelog and use pmmime

This commit is contained in:
Jakub Cuth
2020-09-24 16:17:14 +00:00
committed by Jakub
parent e02c7c7f06
commit 51c8bceed8
2 changed files with 5 additions and 3 deletions

View File

@ -114,7 +114,7 @@ func (p *Part) ConvertMetaCharset() error {
goquery.NewDocumentFromNode(doc).Find("meta").Each(func(n int, sel *goquery.Selection) {
if val, ok := sel.Attr("content"); ok {
t, params, err := mime.ParseMediaType(val)
t, params, err := pmmime.ParseMediaType(val)
if err != nil {
return
}