From 7de7e2ef57ff8eb0491a4b9ecb93aa15936de13c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 7 Dec 2017 00:14:59 +0300 Subject: NewsAggregator: added trimming text --- plugins/NewsAggregator/Src/Utils.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/NewsAggregator/Src') 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"☺", L"☺"); //White Smiling Face result.Replace(L"", L""); + result.Trim(); + return result; } -- cgit v1.2.3