|
Olá, {{ $nome }}.
@foreach(($blocos ?? [['tipo' => 'texto', 'texto' => $texto]]) as $bloco)
@if(($bloco['tipo'] ?? 'texto') === 'imagem' && !empty($bloco['src']))
@elseif(($bloco['tipo'] ?? 'texto') === 'texto')
@php
$textoSeguro = e($bloco['texto'] ?? '');
$textoSeguro = preg_replace('/\*\*([^*\r\n]+)\*\*/u', '$1', $textoSeguro);
$textoSeguro = preg_replace('/(?$1', $textoSeguro);
@endphp
{!! nl2br($textoSeguro, false) !!}
@endif
@endforeach
Precisa de ajuda? Responda este e-mail para falar com a equipe de suporte da Kreative Sistemas.
|
|