pidgin/gtkimhtml.c

branch
release-2.2.3
changeset 20289
5c844288fbec
parent 20276
a0cbee6694d6
child 20292
470dea577276
equal deleted inserted replaced
20288:5ca925a094e2 20289:5c844288fbec
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