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

"type" attribute is unnecessary for javascript resources #11366 #11370

Closed
jimblue opened this issue Jan 17, 2025 · 0 comments · Fixed by #11373
Closed

"type" attribute is unnecessary for javascript resources #11366 #11370

jimblue opened this issue Jan 17, 2025 · 0 comments · Fixed by #11373
Labels

Comments

@jimblue
Copy link
Contributor

jimblue commented Jan 17, 2025

Bug description

"type" attribute is unnecessary for javascript resources since HTML5.

Reference: https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type

How to reproduce

Use the {{ nocache }} tag whith static caching.

Logs

Environment

Environment
Application Name: Website
Laravel Version: 11.38.2
PHP Version: 8.3.14
Composer Version: 2.8.4
Environment: development
Debug Mode: ENABLED
URL: website.test
Maintenance Mode: OFF
Timezone: Europe/Paris
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: null
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: redis
Session: file

Statamic
Addons: 3
Sites: 1
Stache Watcher: Disabled (auto)
Static Caching: Disabled
Version: 5.45.1 PRO

Statamic Addons
rias/statamic-redirect: 3.9.2
spatie/statamic-responsive-images: 5.2.1
statamic/seo-pro: 6.5.0

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

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

Successfully merging a pull request may close this issue.

2 participants