Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 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 | f105bc0270c7 |
children | 650ea0a0d55e |
comparison
equal
deleted
inserted
replaced
9725:242a5a97c952 | 9726:f654d3bfeb47 |
---|---|
1737 VALID_OPT_TAG("BR"); | 1737 VALID_OPT_TAG("BR"); |
1738 | 1738 |
1739 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { | 1739 if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { |
1740 gchar *e = strstr (string + strlen("!--"), "-->"); | 1740 gchar *e = strstr (string + strlen("!--"), "-->"); |
1741 if (e) { | 1741 if (e) { |
1742 *type = -1; | 1742 /* |
1743 * If we uncomment the following line then HTML comments will be | |
1744 * hidden. This is good because it means when a WinAIM users pastes | |
1745 * part of a conversation to you, the screen names won't be | |
1746 * duplicated (because WinAIM pastes an HTML comment containing the | |
1747 * screen name, for some reason). | |
1748 * | |
1749 * However, uncommenting this is bad because we use HTML comment | |
1750 * tags to print timestamps to conversations (at least, I think...) | |
1751 * | |
1752 * KingAnt thinks it would be best to display timestamps using | |
1753 * something other than comment tags. | |
1754 */ | |
1755 /* *type = -1; */ | |
1743 *len = e - string + strlen ("-->"); | 1756 *len = e - string + strlen ("-->"); |
1744 *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); | 1757 *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); |
1745 return TRUE; | 1758 return TRUE; |
1746 } | 1759 } |
1747 } | 1760 } |