aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Matrix.cpp')
-rw-r--r--src/plugins/Matrix.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 3c4a6dd..4a414da 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -64,7 +64,10 @@ namespace QuickMedia {
std::string extract_first_line_remove_newline_elipses(const std::string &str, size_t max_length) {
std::string result = str;
- string_replace_all(result, '\n', " ");
+ string_replace_all(result, '\n', ' ');
+ string_replace_all(result, '\t', ' ');
+ string_replace_all(result, '\v', ' ');
+ string_replace_all(result, '\r', ' ');
size_t index = result.find('\n');
if(index == std::string::npos) {
if(result.size() > max_length)