Skip to content

fix: the attribute values of HTML tags should not be converted to lowercase#8443

Merged
LingyuCoder merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/html-attr
Nov 18, 2024
Merged

fix: the attribute values of HTML tags should not be converted to lowercase#8443
LingyuCoder merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/html-attr

Conversation

@inottn
Copy link
Copy Markdown
Collaborator

@inottn inottn commented Nov 14, 2024

Summary

fix #8410

In fact, attr_name should not be converted to lowercase either, as this is the job of the minifier. However, it seems that swc_html_minifier currently does not support the caseSensitive configuration.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Nov 14, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 14, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 100db49
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/673870b53e38eb0008e670b3

Copy link
Copy Markdown
Contributor

@LingyuCoder LingyuCoder left a comment

Choose a reason for hiding this comment

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

Thanks

@LingyuCoder LingyuCoder merged commit 343f279 into web-infra-dev:main Nov 18, 2024
@inottn inottn deleted the fix/html-attr branch November 18, 2024 06:25
@h-a-n-a h-a-n-a mentioned this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Incorrect html output when using compilation hooks and upper case letters in asset file names

2 participants