From f2bf8945130dc494f966a26748e88d3b70aaf900 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 25 Jan 2020 18:08:13 -0500 Subject: [PATCH] need to close a tag for missing img --- fun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } }