0๐
โ
I found the solution. I actually should have mentioned that I am using the Laravel framework which is trimming all incoming request strings automatically with a middleware.
After commenting out the
\App\Http\Middleware\TrimStrings::class
in Kernel.php
I disabled the auto-trim. Now I have my desired line breaks.
Source:stackexchange.com