changeset 23590:ec227bab07b6

merge of '5b3cd3600d9a992cc943d490b68c1174e0346b8b' and '9335e6559861d8cef4214b09234d1f588ff07f74'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 23 Jul 2008 05:44:56 +0000
parents b79cfdcb704e (current diff) d70aad03b491 (diff)
children da9cf296733e 46da06b6b4ce
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/page.c	Wed Jul 23 03:30:07 2008 +0000
+++ b/libpurple/protocols/msn/page.c	Wed Jul 23 05:44:56 2008 +0000
@@ -53,9 +53,9 @@
 
 	g_return_val_if_fail(page != NULL, NULL);
 
-	str =
-		g_strdup_printf("<TEXT xml:space=\"preserve\" enc=\"utf-8\">%s</TEXT>",
-						msn_page_get_body(page));
+	str = g_markup_printf_escaped(
+			"<TEXT xml:space=\"preserve\" enc=\"utf-8\">%s</TEXT>",
+			msn_page_get_body(page));
 
 	if (ret_size != NULL)
 		*ret_size = strlen(str);