Fix xml output intendation

This commit is contained in:
fiaxh 2023-05-13 14:45:07 +02:00
parent 0bddf9f3da
commit 4dfe853fbf

View file

@ -336,7 +336,7 @@ public class StanzaNode : StanzaEntry {
if (((!)val).length > 1000) { if (((!)val).length > 1000) {
return indent + "[... retracted for brevity ...]\n"; 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(); var sb = new StringBuilder();
if (no_ns) { if (no_ns) {