diff --git a/fun.go b/fun.go index 1e18c08..3e1629d 100644 --- a/fun.go +++ b/fun.go @@ -173,7 +173,7 @@ func replaceimgsand(zap map[string]bool, absolute bool) func(node *html.Node) st } return string(templates.Sprintf(`%s`, alt, alt, base, d.XID)) } - return string(templates.Sprintf(`<img alt="%s" src="%s">`, alt, src, src)) + return string(templates.Sprintf(`<img alt="%s" src="%s">`, alt, src, src)) } }