From f52827d62a9c1ebf3e66915420040db9881b0ff6 Mon Sep 17 00:00:00 2001 From: xuu Date: Fri, 4 Apr 2025 11:49:17 -0600 Subject: [PATCH] chore: update deps --- http-html.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/http-html.go b/http-html.go index ae6ddbe..3ef7ea4 100644 --- a/http-html.go +++ b/http-html.go @@ -182,9 +182,7 @@ func (r *HTWriter) WriteTo(w io.Writer) (int64, error) { } subject := "" if s := twt.Subject(); s != nil { - if tag := s.Tag(); tag != nil { - subject = tag.Text() - } + subject = s.Tag().Text() } i, err = fmt.Fprintf(w, `