diff --git a/hoot.go b/hoot.go index f1f7ae9..58b2fdb 100644 --- a/hoot.go +++ b/hoot.go @@ -57,7 +57,7 @@ func hootextractor(r io.Reader, url string, seen map[string]bool) string { if htfilter.HasClass(node, "Emoji") && alt != "" { return alt } - return fmt.Sprintf(" ", htfilter.GetAttr(node, "src")) + return fmt.Sprintf(" %s", htfilter.GetAttr(node, "src"), alt) } var buf strings.Builder