Fri, 23 Dec 2005 06:48:27 +0000
[gaim-migrate @ 14976]
Yahoo profiles use links of this form:
<a href="http://gaim.sf.net">gaim.sf.net</a>
The Yahoo prpl strips HTML, manipulates the text, then passes it to the core, which passes to the UI, which calls another UI function which calls ...linkify. This leads to these URLs looking quite odd.
The fix is to have the HTML stripping function deal properly with URLs of the above format. With HTTP being the most common type of URL these days, that's probably a good plan anyway.
| 12129 | 1 | /** @page conversation-signals Notification Signals |
| 2 | ||
| 3 | @signals | |
| 4 | @signal displaying-userinfo | |
| 5 | @endsignals | |
| 6 | ||
| 7 | @signaldef displaying-userinfo | |
| 8 | @signalproto | |
| 9 | void (*displaying_userinfo)(GaimAccount *account, const char *who, char **infotext); | |
| 10 | @endsignalproto | |
| 11 | @signaldesc | |
| 12 | Emitted before userinfo is handed to the UI to display. | |
| 13 | @a infotext is a pointer to a string, so a plugin can replace the text that | |
| 14 | will be displayed. | |
| 15 | @note | |
| 16 | Make sure to free @a *infotext before you replace it! | |
| 17 | @param account The account on which the info was obtained. | |
| 18 | @param who The screen name of the user whose info is to be displayed. | |
| 19 | @param infotext A pointer to the userinfo text to be displayed. | |
| 20 | @endsignaldef | |
| 21 | ||
| 22 | */ | |
| 23 | // vim: syntax=c tw=75 et |