summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-08-07 02:02:07 +0000
committerRobert Pösel <robyer@seznam.cz>2014-08-07 02:02:07 +0000
commitbfa54f92fa14defbb276e57ad7508bd68318f592 (patch)
treedc5e8e490475c3a6974d9ecccfd564f91a93f86f /protocols/FacebookRM/src/utils.cpp
parent523df843b25d660da107d6e954fa2127bf02e082 (diff)
Facebook: Fix sending "&#123456" in message
- Remove "special_expressions_decode" from various wrong places (hopefully it won't cause any new problems) - Rename it to "html_entities_decode" git-svn-id: http://svn.miranda-ng.org/main/trunk@10104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.cpp')
-rw-r--r--protocols/FacebookRM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp
index 115a5d4350..6b03f523f3 100644
--- a/protocols/FacebookRM/src/utils.cpp
+++ b/protocols/FacebookRM/src/utils.cpp
@@ -150,7 +150,7 @@ void utils::text::append_ordinal(unsigned long value, std::string* data)
}
}
-std::string utils::text::special_expressions_decode(std::string data)
+std::string utils::text::html_entities_decode(std::string data)
{
utils::text::replace_all(&data, "&amp;", "&");
utils::text::replace_all(&data, "&quot;", "\"");