php - How to enable HTML in Laravel Mailable

I am trying to send HTML formatted text to email in Laravel using the mailable feature. When the data is sent, It contains HTML Tags.

Example

Order description <p>Lorem Ipsum is simply <b> dummy text</b> of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</p>

Instead of:

Order description Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

sendMail.php

public function build()
{
    return $this->from('support@example.com')
        ->to('support@example.com')
        ->subject('Premium Article Writers') 
        ->view('invoice')
        ->text('invoice')
        ->with('data',$this->data);
}

Controller

$data = [
    'description' => $request->description,
];
                       
Mail::to($sender)->send(new SendMail($data));

invoice.blade.php

{!! $data['description'] !!}

Answer

Solution:

Remove the line ->text('invoice') this sends in text format. By default it's HTML.

Source