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, `