diff --git a/src/utils/str.py b/src/utils/str.py index 5c6324605..6e428a84d 100644 --- a/src/utils/str.py +++ b/src/utils/str.py @@ -64,6 +64,7 @@ def normalizeWhitespace(s, removeNewline=True): s = str(s) if removeNewline: s = str.replace(s, '\n', '') + s = str.replace(s, '\t', ' ') while ' ' in s: s = str.replace(s, ' ', ' ') return s