# HG changeset patch # User Mark Doliner # Date 1091987792 0 # Node ID f654d3bfeb475cecc2427eec2e07104c37a9b5eb # Parent 242a5a97c9522db46092f211b08a764b778302f2 [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 diff -r 242a5a97c952 -r f654d3bfeb47 src/gtkimhtml.c --- 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;