Conversation

RobinMalfait

This PR fixes a bug where a class like header_1 wasn't properly extracted because we didn't allow an _ before a number.

This PR fixes that by allowing an _ before a number.

Fixes: #17960

Test plan

  1. Added a test to verify this works
  2. Existing tests work

Used the visualizer tool for this to verify that the header_1 class is being extracted:
image

@RobinMalfaitRobinMalfait requested a review from a team as a code owner May 9, 2025 16:24
@RobinMalfaitRobinMalfait enabled auto-merge (squash) May 9, 2025 16:27
@RobinMalfaitRobinMalfait merged commit 737994b into main May 9, 2025
7 checks passed
@RobinMalfaitRobinMalfait deleted the fix/issue-17960 branch May 9, 2025 16:29
Sign up for free to join this conversation on . Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

@utility won't generate some class names