diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-08-07 11:22:37 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-08-07 11:22:37 +0000 |
commit | 4a3b0b63ac83dd08dc27336f9bcfb7387e2a2929 (patch) | |
tree | 3d2a576c33cacd4c9db2f1071a0b2b011a6b3659 /protocols/FacebookRM/src | |
parent | 4e82fc7588b85d04ee6c2da87364662afcf402fc (diff) |
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
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |