commit | 17ede7aea9479c810bf43534b15540205aa839f3 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Fri Nov 13 10:38:30 2020 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Nov 23 13:37:39 2020 +0100 |
tree | b015cefc5db29a2606d516f40882b3ad62522173 | |
parent | 25fe3dd8888389faf1e9f1e343cb5a01feeca7c8 [diff] |
XML printer BUGFIX initial indentation was 2 spaces
diff --git a/src/printer_xml.c b/src/printer_xml.c index 56a1b43..7a29875 100644 --- a/src/printer_xml.c +++ b/src/printer_xml.c
@@ -561,7 +561,7 @@ } ctx.out = out; - ctx.level = (options & LYD_PRINT_SHRINK ? 0 : 1); + ctx.level = 0; ctx.options = options; ctx.ctx = LYD_CTX(root);