Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout Team Invitation email is messed up. #1498

Closed
MGeurts opened this issue Jun 4, 2024 · 3 comments
Closed

Layout Team Invitation email is messed up. #1498

MGeurts opened this issue Jun 4, 2024 · 3 comments

Comments

@MGeurts
Copy link

MGeurts commented Jun 4, 2024

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
@MGeurts
Copy link
Author

MGeurts commented Jun 5, 2024

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
Copy link
Member

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
Copy link
Author

MGeurts commented Jun 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants