Level 47
You can't output raw format and blade format. You have to use html and not blade helpers.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
THe problem im curretly running into is that i have a textfile stored in the db. The textfile contains the curly braces we use in blade, eg
lorem ipsum
{!! Html::image('images/image.jpg', 'Title', array('class'=>'media-object')) !!}
lorem ipsum
displaying the textfile from db in the blade file:
{!! $car->text !!}
but instead of the desired output:
lorem ipsum
<img src="http://localhost:8000/images/image.jpg" class="media-object" alt="Title">
lorem ipsum
i get
lorem ipsum
{!! Html::image('images/image.jpg', 'Title', array('class'=>'media-object')) !!}
lorem ipsum
is there any way to get this displayed correctly, or is there any placeholder for that or any other solution?
You can't output raw format and blade format. You have to use html and not blade helpers.
Please or to participate in this conversation.