Source/AIXMLChatlogConverter.m
changeset 2597 07e07f9788a6
parent 1946 866f1f27b315
child 2799 ba94093fbed8
--- a/Source/AIXMLChatlogConverter.m	Sat Aug 22 23:10:25 2009 -0400
+++ b/Source/AIXMLChatlogConverter.m	Wed Aug 26 13:17:35 2009 -0400
@@ -260,6 +260,11 @@
 													withString:@"&"
 													   options:NSLiteralSearch
 														 range:NSMakeRange(0, [mutableMessage length])];
+					// Escape anchor tags
+					[mutableMessage replaceOccurrencesOfString:@"#"
+													withString:@"#"
+													   options:NSLiteralSearch
+														 range:NSMakeRange(0, [mutableMessage length])];
 					message = [mutableMessage autorelease];
 				}
 				NSString *shownSender = (senderAlias ? senderAlias : sender);