laravel / jetstream

Tailwind scaffolding for the Laravel framework.

Home Page:https://jetstream.laravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Layout Team Invitation email is messed up.

MGeurts opened this issue · comments

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

  • Fresh install Laravel 11
  • Fresh install Laravel Jetstream with Teams option
  • Register
  • Invite a member to your team
  • Check the team invitation email

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.

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.

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)?