aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/core')
-rw-r--r--xmpp-vala/src/core/stanza_node.vala2
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) {