[MOD] Don't always add two newlines

This commit is contained in:
lda 2025-02-17 17:44:09 +00:00
commit cdbdc9345a

View file

@ -149,8 +149,11 @@ XMPPifyElement(const ParseeConfig *conf, HashMap *event, XMLElement *elem, XMPPF
Concat(subxep); Concat(subxep);
Free(subxep); Free(subxep);
} }
if (i != 0)
{
Concat("\n"); Concat("\n");
} }
}
else if (StrEquals(elem->name, "a")) else if (StrEquals(elem->name, "a"))
{ {
char *href = HashMapGet(elem->attrs, "href"); char *href = HashMapGet(elem->attrs, "href");