need to close a tag for missing img

master
Ted Unangst 5 years ago
parent eb34f8f555
commit f2bf894513

@ -173,7 +173,7 @@ func replaceimgsand(zap map[string]bool, absolute bool) func(node *html.Node) st
}
return string(templates.Sprintf(`<img alt="%s" title="%s" src="%s/d/%s">`, alt, alt, base, d.XID))
}
return string(templates.Sprintf(`&lt;img alt="%s" src="<a href="%s">%s<a>"&gt;`, alt, src, src))
return string(templates.Sprintf(`&lt;img alt="%s" src="<a href="%s">%s</a>"&gt;`, alt, src, src))
}
}

Loading…
Cancel
Save