Frameworks/Adium Framework/Source/AIXMLElement.m
changeset 2597 07e07f9788a6
parent 2578 c5b0c0b0c141
child 2791 a18df53b0617
--- a/Frameworks/Adium Framework/Source/AIXMLElement.m	Sat Aug 22 23:10:25 2009 -0400
+++ b/Frameworks/Adium Framework/Source/AIXMLElement.m	Wed Aug 26 13:17:35 2009 -0400
@@ -230,7 +230,7 @@
 			} else if ([value respondsToSelector:@selector(absoluteString)]) {
 				value = [(NSURL *)value absoluteString];
 			}
-			[string appendFormat:@" %@=\"%@\"", key, value];
+			[string appendFormat:@" %@=%@", key, [self quotedXMLAttributeValueStringForString:value]];
 		}
 	}
 	if ((![contents count]) && (selfCloses)) {