© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
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