corcel icon indicating copy to clipboard operation
corcel copied to clipboard

Rendering Post in Blade View

Open sheinfeld opened this issue 3 years ago • 1 comments

  • Corcel Version: 4.0.1
  • Framework Name & Version: Laravel 8
  • PHP Version: 7.4
  • Database Driver & Version: MySQL

Description:

I've just started using this package, and most went fine until I have to handle the post_content for a given article.

I can't find a function that can properly handle the rending of the post without destroying some html tags like iframes.

Steps To Reproduce:

{!! nl2br($article->content) !!}

sheinfeld avatar Sep 09 '20 14:09 sheinfeld

hey can you paste here what you have in your DB for the content of that post please?

jgrossi avatar Oct 30 '20 21:10 jgrossi