changeset 19589:d24b19e3db5a

Patch from Ankit Singla to preserve newlines. Fixes #2858
author Sean Egan <seanegan@gmail.com>
date Sun, 02 Sep 2007 23:35:53 +0000
parents 7a5c4381e4dd
children 2f7b3564bb7e 1b95e3bd5628
files COPYRIGHT pidgin/gtkimhtml.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Sun Sep 02 23:07:24 2007 +0000
+++ b/COPYRIGHT	Sun Sep 02 23:35:53 2007 +0000
@@ -338,6 +338,7 @@
 Michael Shkutkov
 Ettore Simone
 John Silvestri
+Ankit Singla
 Craig Slusher
 Alex Smith
 Brad Smith
--- a/pidgin/gtkimhtml.c	Sun Sep 02 23:07:24 2007 +0000
+++ b/pidgin/gtkimhtml.c	Sun Sep 02 23:35:53 2007 +0000
@@ -4890,7 +4890,7 @@
 		} else if (c == '"') {
 			str = g_string_append(str, "&quot;");
 		} else if (c == '\n') {
-			str = g_string_append(str, "<br>");
+			str = g_string_append(str, "<br>\n");
 		} else {
 			str = g_string_append_unichar(str, c);
 		}