diff --git a/GormCore/GormDocument.m b/GormCore/GormDocument.m index d7b85dbf..194ecadc 100644 --- a/GormCore/GormDocument.m +++ b/GormCore/GormDocument.m @@ -3503,7 +3503,7 @@ static void _real_close(GormDocument *self, // Recursively build the XLIFF document from the GormDocument... [self _buildXLIFFDocumentWithParentNode: group]; - NSData *data = [xliffDocument XMLData]; + NSData *data = [xliffDocument XMLDataWithOptions: NSXMLNodePrettyPrint | NSXMLNodeCompactEmptyElement ]; NSString *xmlString = [NSString stringWithUTF8String: [data bytes]]; result = [xmlString writeToFile: name atomically: YES];