Trim another type of dash
This commit is contained in:
parent
e94d76b676
commit
72e92e1219
|
@ -65,7 +65,7 @@ func (a *AtomWriter) Handle(line gemini.Line) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
a.Items = append(a.Items, FeedItem{
|
a.Items = append(a.Items, FeedItem{
|
||||||
Date: t,
|
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),
|
Link: string(line.URL),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue