mercredi 20 février 2019

Line breaks in email in Docker MailDev

I am using maildev in my local development and have this code in my template.

@component('mail::panel')
    @component('mail::table')
        | Section | details |
        |-|-|
        | name |  |
        | email  |  |
        | message | {!! nl2br(e( $contents )) !!} |
    @endcomponent
@endcomponent

Now, the contents is a text area field which allows the user to have a newline or multiple lines.

enter image description here

My problem here is that the message this is it should be inline with Thank you not with content.Anyone has an idea?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire