diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-07-27 09:05:52 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-07-27 09:05:52 +0000 |
commit | 8b77c1ba74a24af5ec831385fc876807aed509c0 (patch) | |
tree | 11bff428aa51b7fb36b5ebb30662a5ff4a6b7b65 /protocols/Twitter/src/StringUtil.h | |
parent | d8987ee0292e52549abfcf8763e93cf187317581 (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.h | 2 |
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()));
|