pidgin/gtkimhtml.c

changeset 21128
0fa05a36c5e0
parent 21091
07fe1a99c47b
child 21425
9a163ab7adb1
equal deleted inserted replaced
21127:c6347aed1fb0 21128:0fa05a36c5e0
201 /* any newlines in the string will now be \r\n, so we need to strip out the \r */ 201 /* any newlines in the string will now be \r\n, so we need to strip out the \r */
202 split = g_strsplit(html, "\r\n", 0); 202 split = g_strsplit(html, "\r\n", 0);
203 g_free(html); 203 g_free(html);
204 html = g_strjoinv("\n", split); 204 html = g_strjoinv("\n", split);
205 g_strfreev(split); 205 g_strfreev(split);
206
207 html = g_strstrip(html);
208 206
209 #if 0 /* Debugging for Windows clipboard */ 207 #if 0 /* Debugging for Windows clipboard */
210 purple_debug_info("imhtml clipboard", "HTML fragment: '%s'\n", html); 208 purple_debug_info("imhtml clipboard", "HTML fragment: '%s'\n", html);
211 #endif 209 #endif
212 210

mercurial