J
J
Jedi2018-04-27 17:51:20
Laravel
Jedi, 2018-04-27 17:51:20

How to display HTML not text in Laravel?

Hello!
How can I make the HTML in post->content appear as HTML and not as text?
All this is being edited with the help of TinyMCE. The problem is not in the editor, but in the fact that I missed something.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav, 2018-04-27
@PHPjedi

{!! $post->content !!}
https://laravel.com/docs/5.6/blade#displaying-data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question