web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
10.13k stars 575 forks source link

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

Closed inottn closed 1 week ago

inottn commented 1 week ago

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

netlify[bot] commented 1 week ago

Deploy Preview for rspack canceled.

Built without sensitive environment variables

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