Mercurial > pidgin
view doc/notify-signals.dox @ 12620:13599d978a31
[gaim-migrate @ 14956]
SF Patch #1387727 from Dennis Lambe Jr. (malsyned)
"When gaim_markup_strip_html removes HTML tags from log
messages before writing them out, the contents of the
href attribute of <a> tags gets lost, even though that
information is much more valuable than HTML formatting
information and would be very useful to have in logs.
This patch causes gaim_markup_strip_html, when
confronted with a chunk of text that looks like this:
Check out <a href="http://gaim.sf.net/">this great
program</a> I just found!
to emit something like this:
Check out this great program<http://gaim.sf.net/> I
just found!"
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 22 Dec 2005 04:37:10 +0000 |
parents | 216988c717da |
children | faa6afdcea39 |
line wrap: on
line source
/** @page conversation-signals Notification Signals @signals @signal displaying-userinfo @endsignals @signaldef displaying-userinfo @signalproto void (*displaying_userinfo)(GaimAccount *account, const char *who, char **infotext); @endsignalproto @signaldesc Emitted before userinfo is handed to the UI to display. @a infotext is a pointer to a string, so a plugin can replace the text that will be displayed. @note Make sure to free @a *infotext before you replace it! @param account The account on which the info was obtained. @param who The screen name of the user whose info is to be displayed. @param infotext A pointer to the userinfo text to be displayed. @endsignaldef */ // vim: syntax=c tw=75 et