Skip to content

[MVC] Preserve type attribute when defined in Script tag helper#57170

Merged
javiercn merged 1 commit intomainfrom
javiercn/fix-script-taghelper
Aug 6, 2024
Merged

[MVC] Preserve type attribute when defined in Script tag helper#57170
javiercn merged 1 commit intomainfrom
javiercn/fix-script-taghelper

Conversation

@javiercn
Copy link
Copy Markdown
Member

@javiercn javiercn commented Aug 5, 2024

Since we now handle the type attribute for importmap, we also need to make sure that it gets copied to the output in other scenarios if defined.

This only matters when type is required, (like for modules) as otherwise, default scripts just work.

Fixes #57138

@javiercn javiercn requested a review from a team as a code owner August 5, 2024 11:56
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 5, 2024
@javiercn javiercn requested a review from a team August 5, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

4 participants