src/protocols/msn/utils.c

changeset 9264
082e824358cf
parent 9198
e8eb6d5eb9eb
child 9331
adae1d519c83
--- a/src/protocols/msn/utils.c	Fri Jun 11 00:18:36 2004 +0000
+++ b/src/protocols/msn/utils.c	Fri Jun 11 00:23:13 2004 +0000
@@ -290,6 +290,11 @@
 				msg[retcount++] = '>';
 				c += 4;
 			}
+			else if (!g_ascii_strncasecmp(c, " ", 6))
+			{
+				msg[retcount++] = ' ';
+				c += 6;
+			}
 			else if (!g_ascii_strncasecmp(c, """, 6))
 			{
 				msg[retcount++] = '"';
@@ -300,6 +305,13 @@
 				msg[retcount++] = '&';
 				c += 5;
 			}
+			else if (!g_ascii_strncasecmp(c, "'", 6))
+			{
+				msg[retcount++] = '\'';
+				c += 6;
+			}
+			else
+				msg[retcount++] = *c++;
 		}
 		else
 			msg[retcount++] = *c++;

mercurial