diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-04-17 12:13:34 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-04-17 12:13:34 +0000 |
commit | bf412939a21083d0f2bb4451089be645398cb418 (patch) | |
tree | 9ea53fc44cad051f50677a85a0b059b6ca87f2c2 /utils | |
parent | 1ea7cd86935d95f8d6ec91d11e7db84219400c64 (diff) |
std_string_util: Add replace " " to " "
git-svn-id: http://svn.miranda-ng.org/main/trunk@16687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'utils')
-rw-r--r-- | utils/std_string_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index a824ef87eb..137f1da52f 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -169,6 +169,7 @@ std::string utils::text::html_entities_decode(std::string data) utils::text::replace_all(&data, """, "\"");
utils::text::replace_all(&data, "<", "<");
utils::text::replace_all(&data, ">", ">");
+ utils::text::replace_all(&data, " ", " ");
utils::text::replace_all(&data, "♥", "\xE2\x99\xA5"); // direct byte replacement
// utils::text::replace_all(&data, "♥", "\\u2665"); // indirect slashu replacement
|