summaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/xml/document/xml-document.cpp')
-rw-r--r--library/cpp/xml/document/xml-document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp
index 3a712fb099a..18a554d7321 100644
--- a/library/cpp/xml/document/xml-document.cpp
+++ b/library/cpp/xml/document/xml-document.cpp
@@ -314,7 +314,7 @@ namespace NXml {
}
void TNode::SaveInternal(IOutputStream& stream, TZtStringBuf enc, int options) const {
- const char* encoding = enc.size() ? enc.data() : "utf-8";
+ const char* encoding = enc.size() ? enc.data() : "utf-8";
TSaveCtxtPtr ctx(xmlSaveToIO(XmlWriteToOstream, /* close */ nullptr, &stream,
encoding, options));
if (xmlSaveTree(ctx.Get(), (xmlNode*)GetPtr()) < 0)