cmd/mi: formatting

This commit is contained in:
Cadey Ratio 2020-01-11 22:43:01 +00:00
parent 6514cd5b6f
commit 1eb68e9caf
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type Post struct {
func (p Post) Format() string {
var sb strings.Builder
fmt.Fprintf(&sb, "New post %s: %s\n\n", p.Title, p.URL)
fmt.Fprintf(&sb, "New post: %s\n\n%s\n\n", p.Title, p.URL)
for _, tg := range p.Tags {
tg = strings.ReplaceAll(tg, "-", "")