Replace tabs with a space in search::cleanup().

This commit is contained in:
tastytea 2021-05-30 14:37:05 +02:00
parent 4eb210710b
commit 6255d665af
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void cleanup_text(string &text)
}
pos = 0;
while ((pos = text.find('\n', pos)) != string::npos)
while ((pos = text.find_first_of("\n\t", pos)) != string::npos)
{
text.replace(pos, 1, " ");
}