diff options
author | fiaxh <git@lightrise.org> | 2023-05-13 14:45:07 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-05-13 14:45:37 +0200 |
commit | 4dfe853fbf3ada385cdfa0d9208ceb83378f17d7 (patch) | |
tree | 97ec08e003356117ef754693d891b0858a77869d /xmpp-vala | |
parent | 0bddf9f3dacc0945429979787348f41571f27518 (diff) | |
download | dino-4dfe853fbf3ada385cdfa0d9208ceb83378f17d7.tar.gz dino-4dfe853fbf3ada385cdfa0d9208ceb83378f17d7.zip |
Fix xml output intendation
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/core/stanza_node.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/core/stanza_node.vala b/xmpp-vala/src/core/stanza_node.vala index 502717c8..44a70d8d 100644 --- a/xmpp-vala/src/core/stanza_node.vala +++ b/xmpp-vala/src/core/stanza_node.vala @@ -336,7 +336,7 @@ public class StanzaNode : StanzaEntry { if (((!)val).length > 1000) { return indent + "[... retracted for brevity ...]\n"; } - return indent + ((!)val).replace("\n", indent + "\n") + "\n"; + return indent + ((!)val).replace("\n", "\n" + indent) + "\n"; } var sb = new StringBuilder(); if (no_ns) { |