diff --git a/pkg/streamcontrol/youtube/chat_listener_obsolete.go b/pkg/streamcontrol/youtube/chat_listener_obsolete.go index a8d7a27..643a422 100644 --- a/pkg/streamcontrol/youtube/chat_listener_obsolete.go +++ b/pkg/streamcontrol/youtube/chat_listener_obsolete.go @@ -178,7 +178,7 @@ func messageAsHTML(msg string) string { re := regexp.MustCompile(`https://yt3\.ggpht\.com/[^\s]+`) return re.ReplaceAllStringFunc(msg, func(link string) string { link = html.EscapeString(link) - return fmt.Sprintf(`%s`, link, link) + return fmt.Sprintf(``, link) }) }