1 month ago

Bold text through controller in email

Posted 1 month ago by hehihik

I have string called $contentMarketing that has a HTML like structure as text. It also contains data like <bold>BUY NOW</bold>.

When I print this text in the email I see the HTML tags and not the bold text. Is there a way to do this in Laravel without parsing the content before it is displayed in the email?

Please sign in or create an account to participate in this conversation.