- Issue created by @pjovanovic
- πΊπΈUnited States kevinquillen
I think I follow this - are there test cases we can add to the existing Unit test to catch this?
Some words were written together, which confused the output in the end. After a point there sometimes wasn't a space, so I'd like to start a conversation if and how this can be reliably fixed. My workaround was simple:
In the Class StringHelper.php so that it replaces not with an empty value but with a backspace, this does lead to words having double spaces, but the output of the prompt doesn't come back with words attached together.
Line: 72 StringHelper.php:
$text = str_replace(["\r\n", "\r", "\n", "\\r", "\\n", "\\r\\n"], ' ', $text);
at the end before the $text I added a space, I know this isn't a permanent solution because it still does not do the things 100% correctly. Nevertheless, I hope that we can find a solution that makes sense and makes the output better.
Active
1.0
Code
I think I follow this - are there test cases we can add to the existing Unit test to catch this?