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

Add the crossorigin attribute to the <script> element #248

Merged
merged 1 commit into from Jan 9, 2024

Conversation

lorenzsimon
Copy link
Contributor

This project is very interesting in combination with other tools like htmx. To safely include such libraries we should allow the crossorigin in the script tag as described here

See here for more details about the attribute.

It is helpful to check the integrity for libraries like htmx.
@lorenzsimon lorenzsimon changed the title Add the crossorigin attribute to the script element Add the crossorigin attribute to the script element Nov 22, 2023
@lorenzsimon lorenzsimon changed the title Add the crossorigin attribute to the script element Add the crossorigin attribute to the <script> element Nov 22, 2023
@e5l e5l self-requested a review January 8, 2024 09:06
@e5l e5l self-assigned this Jan 8, 2024
@e5l
Copy link
Member

e5l commented Jan 8, 2024

Hey @lorenzsimon, thanks for the PR. LGTM

@e5l e5l merged commit 81b1b02 into Kotlin:master Jan 9, 2024
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.

None yet

2 participants