Laravel Developer at Code Runway B.V.
Lead developer at 3rdRisk.com. Proud father of two kids. Tech optimist. Apple and Laravel enthusiast.
Markdown supported · ⌘↵ to post
The blade component implementation is new for me. I have used to Blade Service Provider in Laravel 5.4. What is the version of Laravel that started such theses components?
Mark Snape
I try to use CSS, but failing that, my preferred pattern is
{!! nl2br(e($description)) !!}the e() function escapes the content, then you convert the newlines and finally, safely echo the raw content