I am working on a template for my home page, pulling html for certain sections from the database. For example, I have a slider with editable text. The text stored in the DB for slide two is
"Name is a multipurpose venue <br /> Empowering people and their passions"
But when I return this in my template, it converts the < to <
and > to >
which just causes "<br />
" to display on the page.
Is there any way to stop this?
To echo out a string without any alterations, use
{!! !!}
syntax instead of{{ }}
.