aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPXMLExporter.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-07-19 07:53:15 +0000
committerstuconnolly <stuart02@gmail.com>2012-07-19 07:53:15 +0000
commit529192cd016e26805b84da4bb6701dc5096e0721 (patch)
tree2a604e907e9486737ea8d5f8e00aae8bc92514c6 /Source/SPXMLExporter.m
parentcbcd1fb8300510200bcae2ff7fb40a2a462f373c (diff)
downloadsequelpro-529192cd016e26805b84da4bb6701dc5096e0721.tar.gz
sequelpro-529192cd016e26805b84da4bb6701dc5096e0721.tar.bz2
sequelpro-529192cd016e26805b84da4bb6701dc5096e0721.zip
Fix incorrect slash for nil data items in an XML export. Fixes issue #1404.
Diffstat (limited to 'Source/SPXMLExporter.m')
-rw-r--r--Source/SPXMLExporter.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPXMLExporter.m b/Source/SPXMLExporter.m
index 36f56081..67cb6136 100644
--- a/Source/SPXMLExporter.m
+++ b/Source/SPXMLExporter.m
@@ -278,7 +278,7 @@
[xmlString appendFormat:@"\t\t<field name=\"%@\"", [[NSArrayObjectAtIndex(fieldNames, i) description] HTMLEscapeString]];
if (dataIsNULL) {
- [xmlString appendString:@" xsi:nil=\"true\" \\>\n"];
+ [xmlString appendString:@" xsi:nil=\"true\" />\n"];
}
else {
[xmlString appendFormat:@">%@</field>\n", [xmlItem HTMLEscapeString]];