changeset 9726:f654d3bfeb47

[gaim-migrate @ 10587] He was quiet as a sheep And he also had false teeth A man with a golden eye, ball committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 17:56:32 +0000
parents 242a5a97c952
children 4faa27ea2151
files src/gtkimhtml.c
diffstat 1 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;