diff --git a/hoot.go b/hoot.go
index 58b2fdb..5ebedee 100644
--- a/hoot.go
+++ b/hoot.go
@@ -26,6 +26,7 @@ import (
"github.com/andybalholm/cascadia"
"golang.org/x/net/html"
"humungus.tedunangst.com/r/webs/htfilter"
+ "humungus.tedunangst.com/r/webs/templates"
)
var tweetsel = cascadia.MustCompile("div[data-testid=tweetText]")
@@ -57,7 +58,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"), alt)
+ return string(templates.Sprintf(" ", htfilter.GetAttr(node, "src"), alt))
}
var buf strings.Builder