ObjFW  Diff

Differences From Artifact [866cd32b8c]:

To Artifact [d813f718a7]:


207
208
209
210
211
212
213
214

215
216
217
218
219
220
221
222
207
208
209
210
211
212
213

214

215
216
217
218
219
220
221







-
+
-







	OFMutableDictionary *all_namespaces;
	OFString *def_ns;

	if (characters != nil)
		return [characters stringByXMLEscaping];

	if (cdata != nil)
		return [OFString stringWithFormat: @"<![CDATA[%s]]>",
		return [OFString stringWithFormat: @"<![CDATA[%@]]>", cdata];
						   [cdata cString]];

	if (comment != nil) {
		OFMutableString *str;

		str = [OFMutableString stringWithString: @"<!--"];
		[str appendString: comment];
		[str appendString: @"-->"];