diff --git a/activitypub.c b/activitypub.c index 64db1d9..3965c9a 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1188,6 +1188,7 @@ void process_queue_item(xs_dict *q_item) } payload = xs_replace_i(payload, "\n", "\\n"); + payload = xs_replace_i(payload, "\r", "\\r"); if (*payload) payload = xs_str_wrap_i(" [", payload, "]");