Fix previous commit
authorAndrej Kacian <ticho@claws-mail.org>
Sun, 28 Apr 2019 23:06:07 +0000 (01:06 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sun, 28 Apr 2019 23:06:07 +0000 (01:06 +0200)
The old code added a newline before each line in
rssyl_parse_folder_item_file().

src/plugins/rssyl/parse822.c

index e59d282e9f53aee3cc6039641bcfe82f08a69bdd..1c89c77c943fee50e6c4441eac3adc18c8e242a3 100644 (file)
@@ -209,6 +209,7 @@ FeedItem *rssyl_parse_folder_item_file(gchar *path)
                                }
 
                                if (body) {
                                }
 
                                if (body) {
+                                       body = g_string_append_c(body, '\n');
                                        body = g_string_append(body, lines[i]);
                                } else {
                                        body = g_string_new(lines[i]);
                                        body = g_string_append(body, lines[i]);
                                } else {
                                        body = g_string_new(lines[i]);