From cdbdc9345ad963fcbd9babe6a9d185efebc79441 Mon Sep 17 00:00:00 2001 From: lda Date: Mon, 17 Feb 2025 17:44:09 +0000 Subject: [PATCH] [MOD] Don't always add two newlines --- src/Parsee/Utils/Formatting.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Parsee/Utils/Formatting.c b/src/Parsee/Utils/Formatting.c index dc7b1a6..07cc191 100644 --- a/src/Parsee/Utils/Formatting.c +++ b/src/Parsee/Utils/Formatting.c @@ -149,7 +149,10 @@ XMPPifyElement(const ParseeConfig *conf, HashMap *event, XMLElement *elem, XMPPF Concat(subxep); Free(subxep); } - Concat("\n"); + if (i != 0) + { + Concat("\n"); + } } else if (StrEquals(elem->name, "a")) {