laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.96k stars 810 forks source link

Layout Team Invitation email is messed up. #1498

Closed MGeurts closed 4 months ago

MGeurts commented 4 months ago

Jetstream Version

5.1.1

Jetstream Stack

Livewire

Laravel Version

11.9.2

PHP Version

8.3.7

Database Driver & Version

MySQL 8.3

Description

JetStream Team Invitation

Steps To Reproduce

MGeurts commented 4 months ago

Upon further examination, it seems that right after the fresh Laravel Jetstream install, everything is OK.

The issue is caused after the file \resources\views\emails\team-invitation.blade.php is openend AND SAVED in Visual Studio Code (Windows machine). Even when saved without any actual changes except for the linter formatting (indenting) the code.

crynobone commented 4 months ago

This seems to be an issue with the IDE (linter) itself which we don't have any control over. Would welcome any improvement but will close the issue as no immediate changes are possible at the moment.

MGeurts commented 4 months ago

The issue is caused by the indents. To me it's stange that a normal blade.php file gets corrupted this way simply by inserting indents. Or could it be this file is somehow processed as markdown despite a confusing extention (blade.php instead of md)?