summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-12-07 00:14:59 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-12-07 00:14:59 +0300
commit7de7e2ef57ff8eb0491a4b9ecb93aa15936de13c (patch)
tree78dfa0be15721c6b88b02164ffcab6a89a48524d /plugins
parent4b6980f68d25901133519bc1ad1c5376819a3876 (diff)
NewsAggregator: added trimming text
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewsAggregator/Src/Utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp
index 11725ae360..4a92551688 100644
--- a/plugins/NewsAggregator/Src/Utils.cpp
+++ b/plugins/NewsAggregator/Src/Utils.cpp
@@ -481,6 +481,8 @@ LPCTSTR ClearText(CMStringW &result, const wchar_t *message)
result.Replace(L"&#9786;", L"☺"); //White Smiling Face
result.Replace(L"&#65279;", L"");
+ result.Trim();
+
return result;
}