Skip to content

Remove unneeded type attribute from HTML script tags#674

Merged
sebbASF merged 1 commit intoapache:mainfrom
jbampton:cleanup-scripts-js
Mar 18, 2026
Merged

Remove unneeded type attribute from HTML script tags#674
sebbASF merged 1 commit intoapache:mainfrom
jbampton:cleanup-scripts-js

Conversation

@jbampton
Copy link
Copy Markdown
Member

Fix typo in HTML code

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type

Attribute is not set (default), an empty string, or a JavaScript MIME type

Indicates that the script is a "classic script", containing JavaScript code.

Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type.

Fix typo in HTML code

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type

Attribute is not set (default), an empty string, or a JavaScript MIME type

Indicates that the script is a "classic script", containing JavaScript code.

Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type.
Copy link
Copy Markdown
Contributor

@sebbASF sebbASF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't mix separate fixes in future

@bproffitt
Copy link
Copy Markdown
Contributor

@sebbASF I think you need to resolve your own comment here. Merging is blocked.

@sebbASF sebbASF merged commit 738b2a7 into apache:main Mar 18, 2026
@jbampton jbampton deleted the cleanup-scripts-js branch March 18, 2026 16:48
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

Successfully merging this pull request may close these issues.

3 participants