Replace tabs with a space in search::cleanup().
This commit is contained in:
parent
4eb210710b
commit
6255d665af
@ -162,7 +162,7 @@ void cleanup_text(string &text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
pos = 0;
|
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, " ");
|
text.replace(pos, 1, " ");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user