asahasrabuddhe / laravel-mjml

Easily use MJML in your Laravel Blade templates!
MIT License
123 stars 51 forks source link

Are directives supported? #147

Open cdwieber opened 2 years ago

cdwieber commented 2 years ago

Using this with Laravel 9.x. Everything goes swimmingly until I attempt to use something like a @for or @foreach directive in the Blade view. Then it either doesn't render, or throws an error such as:

DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 368

So am I doing something wrong, or will directives like that simply not work as it stands right now?