Output sometimes returned without space (connected words)

Created on 22 September 2023, about 1 year ago
Updated 3 November 2023, about 1 year ago

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.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland pjovanovic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024