summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/StringUtil.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-07-27 09:05:52 +0000
committerRobert Pösel <robyer@seznam.cz>2015-07-27 09:05:52 +0000
commit8b77c1ba74a24af5ec831385fc876807aed509c0 (patch)
tree11bff428aa51b7fb36b5ebb30662a5ff4a6b7b65 /protocols/Twitter/src/StringUtil.h
parentd8987ee0292e52549abfcf8763e93cf187317581 (diff)
Twitter: Replace few more html entities with text representation
git-svn-id: http://svn.miranda-ng.org/main/trunk@14734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/StringUtil.h')
-rw-r--r--protocols/Twitter/src/StringUtil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Twitter/src/StringUtil.h b/protocols/Twitter/src/StringUtil.h
index 643450b072..0fe42aedce 100644
--- a/protocols/Twitter/src/StringUtil.h
+++ b/protocols/Twitter/src/StringUtil.h
@@ -30,6 +30,8 @@ tstring GetWord(const tstring& str, unsigned index, bool getRest = false);
std::string& replaceAll(std::string& context, const std::string& from, const std::string& to);
+std::string& htmlEntitiesDecode(std::string& context);
+
inline std::string WideToUTF8(const std::wstring& str)
{
return (char*)ptrA(mir_utf8encodeW(str.c_str()));