chore: make handling more sensitive
This commit is contained in:
parent
fc200cf84f
commit
19ff8dbd8f
@ -182,7 +182,9 @@ func (r *HTWriter) WriteTo(w io.Writer) (int64, error) {
|
|||||||
}
|
}
|
||||||
subject := ""
|
subject := ""
|
||||||
if s := twt.Subject(); s != nil {
|
if s := twt.Subject(); s != nil {
|
||||||
subject = s.Tag().Text()
|
if tag := s.Tag(); tag != nil {
|
||||||
|
subject = tag.Text()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
i, err = fmt.Fprintf(w, `
|
i, err = fmt.Fprintf(w, `
|
||||||
<article>
|
<article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user