Ignore:
Timestamp:
2010-05-19T19:46:43Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
907afe1
Parents:
2334048
Message:

Setting the HTML flag on a connection has a nasty side effect of escaping
a lot of "special" characters, and these HTML entities are not counted as
one character. :-(

So just strip HTML of incoming stuff and don't do anything with what goes
out. It's not required.

The story may actually be more complicated this, let's find out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r2334048 r0b3ffb1  
    434434                twitter_add_buddy(ic, status->user->screen_name, status->user->name);
    435435               
     436                strip_html(status->text);
     437               
    436438                // Say it!
    437439                if (g_strcasecmp(td->user, status->user->screen_name) == 0)
     
    471473                status = l->data;
    472474               
     475                strip_html( status->text );
    473476                if( mode_one )
    474477                        text = g_strdup_printf( "\002<\002%s\002>\002 %s",
Note: See TracChangeset for help on using the changeset viewer.