From 4a3b0b63ac83dd08dc27336f9bcfb7387e2a2929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 7 Aug 2014 11:22:37 +0000 Subject: Facebook: Fix for html entities in notifications (broken in [10104]] git-svn-id: http://svn.miranda-ng.org/main/trunk@10113 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 0bfceb4287..2715ebc9ec 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -259,7 +259,7 @@ int facebook_json_parser::parse_notifications(void *data, std::map< std::string, if (markup == NULL || unread == NULL || json_as_int(unread) == 0) continue; - std::string text = utils::text::slashu_to_utf8(json_as_pstring(markup)); + std::string text = utils::text::html_entities_decode(utils::text::slashu_to_utf8(json_as_pstring(markup))); facebook_notification* notification = new facebook_notification(); -- cgit v1.2.3