Trim another type of dash

This commit is contained in:
blankie 2022-11-11 17:22:55 +07:00
parent e94d76b676
commit 72e92e1219
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (a *AtomWriter) Handle(line gemini.Line) {
if err == nil {
a.Items = append(a.Items, FeedItem{
Date: t,
Title: strings.TrimSpace(strings.TrimLeft(strings.TrimSpace(string(runes[10:])), ":-")),
Title: strings.TrimSpace(strings.TrimLeft(strings.TrimSpace(string(runes[10:])), ":-")),
Link: string(line.URL),
})
}