Sun, 08 Aug 2004 17:56:32 +0000
[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;