[Pidgin] #2858: Pidgin doesn't put newlines in files saved with "Conversation>Save As"

Pidgin trac at pidgin.im
Thu Aug 30 00:40:47 EDT 2007


#2858: Pidgin doesn't put newlines in files saved with "Conversation>Save As"
--------------------------+-------------------------------------------------
 Reporter:  rageboy       |       Type:  patch
   Status:  new           |   Priority:  minor
Component:  pidgin (gtk)  |    Version:  2.1.1
 Keywords:                |    Pending:  0    
--------------------------+-------------------------------------------------
 If I use Save As to save a conversation, I see no newlines in the
 resulting file. Only a large garbled mess of HTML. This is problematic if
 I want to edit the HTML at all to snip things or such. In logs, however
 pidgin saves files just fine. I think this can be easily resolved by
 changing line 4890 in the pidgin 2.1.0 source. In
 gtk_imhtml_get_markup_range(),

 {{{
                 } else if (c == '\n') {
                         str = g_string_append(str, "<br>");
 }}}

 should probably be

 {{{
                 } else if (c == '\n') {
                         str = g_string_append(str, "<br>\n");
 }}}

 (note the addition of the \n). I'd make a real patch file, but that would
 involve a full mtn checkout for a two character addition.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2858>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list