[libsocialweb] twitter-item-view: Unescape the content for the twitter item view
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] twitter-item-view: Unescape the content for the twitter item view
- Date: Tue, 15 Feb 2011 15:42:16 +0000 (UTC)
commit 827402b1801f411132eab51ff1ec51ef900e56e5
Author: Rob Bradford <rob linux intel com>
Date: Tue Feb 15 15:30:08 2011 +0000
twitter-item-view: Unescape the content for the twitter item view
Fixes: https://bugs.meego.com/show_bug.cgi?id=10553
services/twitter/twitter-item-view.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/services/twitter/twitter-item-view.c b/services/twitter/twitter-item-view.c
index 4401db1..004d1a0 100644
--- a/services/twitter/twitter-item-view.c
+++ b/services/twitter/twitter-item-view.c
@@ -32,6 +32,7 @@
#include <libsocialweb/sw-debug.h>
#include <libsocialweb/sw-item.h>
#include <libsocialweb/sw-cache.h>
+#include <libsocialweb/sw-utils.h>
#include "twitter-item-view.h"
@@ -253,7 +254,8 @@ _make_item (SwTwitterItemView *item_view,
g_free (twitpic_id);
}
- sw_item_put (item, "content", content);
+ /* sw_unescape_entities works in place */
+ sw_item_put (item, "content", sw_unescape_entities ((gchar *)content));
g_match_info_free (match_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]