summaryrefslogtreecommitdiff
path: root/utils/std_string_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/std_string_utils.cpp')
-rw-r--r--utils/std_string_utils.cpp1
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, "&lt;", "<");
utils::text::replace_all(&data, "&gt;", ">");
+ utils::text::replace_all(&data, "&nbsp;", " ");
utils::text::replace_all(&data, "&hearts;", "\xE2\x99\xA5"); // direct byte replacement
// utils::text::replace_all(&data, "&hearts;", "\\u2665"); // indirect slashu replacement