[gaim-migrate @ 10587]

Sun, 08 Aug 2004 17:56:32 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 08 Aug 2004 17:56:32 +0000
changeset 9726
77d5f3e9e5a5
parent 9725
4383542a4291
child 9727
0572e63240e5

[gaim-migrate @ 10587]
He was quiet as a sheep
And he also had false teeth

A man with a golden eye, ball

src/gtkimhtml.c file | annotate | diff | comparison | revisions
--- a/src/gtkimhtml.c	Sun Aug 08 17:37:56 2004 +0000
+++ b/src/gtkimhtml.c	Sun Aug 08 17:56:32 2004 +0000
@@ -1739,7 +1739,20 @@
 	if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) {
 		gchar *e = strstr (string + strlen("!--"), "-->");
 		if (e) {
-			*type = -1;
+			/*
+			 * If we uncomment the following line then HTML comments will be
+			 * hidden.  This is good because it means when a WinAIM users pastes
+			 * part of a conversation to you, the screen names won't be
+			 * duplicated (because WinAIM pastes an HTML comment containing the
+			 * screen name, for some reason).
+			 *
+			 * However, uncommenting this is bad because we use HTML comment
+			 * tags to print timestamps to conversations (at least, I think...)
+			 *
+			 * KingAnt thinks it would be best to display timestamps using
+			 * something other than comment tags.
+			 */
+			/* *type = -1; */
 			*len = e - string + strlen ("-->");
 			*tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->"));
 			return TRUE;

mercurial