Commit 8be49797 authored by Korko's avatar Korko
Browse files

Fix new lines in html email not kept

parent 09ade764
<p>{{ str_replace(['{SANTA}', '{TARGET}'], [$santa['name'], $target['name']], $content) }}</p>
<p>{!! nl2br(htmlentities( str_replace(['{SANTA}', '{TARGET}'], [$santa['name'], $target['name']], $content) )) !!}</p>
{!! nl2br(htmlentities( !empty($dearSantaLink) ? trans('form.mail.post2', ['link' => $dearSantaLink]) : trans('form.mail.post') )) !!}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment