diff options
| -rw-r--r-- | activitypub.c | 2 | ||||
| -rw-r--r-- | html.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 8c0c423..8bcb6b0 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1226,7 +1226,7 @@ xs_dict *msg_actor(snac *snac) | |||
| 1226 | else | 1226 | else |
| 1227 | if (xs_type(md) == XSTYPE_STRING) { | 1227 | if (xs_type(md) == XSTYPE_STRING) { |
| 1228 | metadata = xs_dict_new(); | 1228 | metadata = xs_dict_new(); |
| 1229 | xs *l = xs_split(md, "\r\n"); | 1229 | xs *l = xs_split(md, "\n"); |
| 1230 | const char *ll; | 1230 | const char *ll; |
| 1231 | 1231 | ||
| 1232 | xs_list_foreach(l, ll) { | 1232 | xs_list_foreach(l, ll) { |
| @@ -852,7 +852,7 @@ static xs_html *html_user_body(snac *user, int read_only) | |||
| 852 | if (xs_type(md) == XSTYPE_STRING) { | 852 | if (xs_type(md) == XSTYPE_STRING) { |
| 853 | /* convert to dict for easier iteration */ | 853 | /* convert to dict for easier iteration */ |
| 854 | metadata = xs_dict_new(); | 854 | metadata = xs_dict_new(); |
| 855 | xs *l = xs_split(md, "\r\n"); | 855 | xs *l = xs_split(md, "\n"); |
| 856 | const char *ll; | 856 | const char *ll; |
| 857 | 857 | ||
| 858 | xs_list_foreach(l, ll) { | 858 | xs_list_foreach(l, ll) { |