Skip to content

Conversation

@davidwengier
Copy link
Member

Fixes a report on reddit.

We were filtering CSS023 and CSS025 but not CSS024. So there is this. But then everything got more complicated because at some point we regressed things and just filtered all Html diagnostics from Html attributes it seems. Clearly test coverage for this wasn't great, so there is a chance this causes us to report more Html diagnostics and therefore regress things for users, but at least we'll find out and be able to fix them.

We were inadvertently rejecting any attribute related diagnostics its seems. Partly because the whitespace before the attribute name was being considered as part of the attribute, and partly because each individual token of the attribute value was being considered. I suspect this broke with FUSE and with the node/token reversal. So that's fun.
@davidwengier davidwengier requested a review from a team as a code owner September 10, 2025 10:50
Copy link
Member

@DustinCampbell DustinCampbell left a comment

Choose a reason for hiding this comment

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

Remove unused usings 😄

@davidwengier davidwengier merged commit a333b93 into dotnet:main Sep 11, 2025
11 checks passed
@davidwengier davidwengier deleted the FilterCSS024 branch September 11, 2025 00:54
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Sep 11, 2025
@akhera99 akhera99 modified the milestones: Next, 18.0 P1, 18.0 P2 Sep 22, 2025
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.

4 participants