chore: make handling more sensitive

This commit is contained in:
xuu 2025-04-04 11:28:45 -06:00
parent fc200cf84f
commit 19ff8dbd8f
Signed by: xuu
GPG Key ID: 8B3B0604F164E04F

View File

@ -182,7 +182,9 @@ func (r *HTWriter) WriteTo(w io.Writer) (int64, error) {
}
subject := ""
if s := twt.Subject(); s != nil {
subject = s.Tag().Text()
if tag := s.Tag(); tag != nil {
subject = tag.Text()
}
}
i, err = fmt.Fprintf(w, `
<article>