no replace
Browse files- search_errors_logic.py +2 -1
search_errors_logic.py
CHANGED
|
@@ -178,7 +178,8 @@ def add_comments_to_text(text, errors, add_errors=False):
|
|
| 178 |
error["end"] += len(inp)
|
| 179 |
shift += len(inp)
|
| 180 |
|
| 181 |
-
return text
|
|
|
|
| 182 |
|
| 183 |
|
| 184 |
def check_text(text, tool, mode="chat_gpt", highlight_mode=False, add_errors=False):
|
|
|
|
| 178 |
error["end"] += len(inp)
|
| 179 |
shift += len(inp)
|
| 180 |
|
| 181 |
+
return text
|
| 182 |
+
#return text.replace("\n", " ")
|
| 183 |
|
| 184 |
|
| 185 |
def check_text(text, tool, mode="chat_gpt", highlight_mode=False, add_errors=False):
|